Function at 0x4573a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
jne 0x4573bb
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4573cb
push eax
call fcn.00468870
add esp, 4
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4573e5
push 4
call fcn.004697f8
mov dword [edi + 0x40], eax
add esp, 4
mov dword [eax], esi
jmp 0x457432
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4573f0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 4]
push eax
call fcn.004697f8
mov ecx, esi
add esp, 4
mov dword [edi + 0x40], eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x457414
sub ecx, ebx
sar ecx, 1
lea ecx, [ecx + ecx + 2]
push ecx
push esi
push eax
call fcn.00467c80
add esp, 0xc
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x24]
je 0x45746f
push esi
lea edx, [ebp - 8]
push edx
mov ecx, 0x4a7c14
call fcn.0044baf0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, 0x4a7c14
call fcn.00456120
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
mov ecx, dword [0x4a7b1c]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x40]
push 0
push ecx
mov ecx, dword [0x4a7b30]
push 0
push ebx
push 0
push 0
push 0
push 0
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
je 0x4574c9
cmp dword [edi + 0x3c], 0
mov dword [edi + 0x28], ebx
lea ebx, [edi + 0x3c]
jne 0x45753e
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
push 0x49b3f0
push eax
call edx
test eax, eax
jns 0x4574d7
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebx]
test ebx, ebx
je 0x45753e
lea ecx, [ebp + 0x14]
push ecx
mov dword [ebp + 0x14], 0
mov eax, dword [ebx]
mov edx, dword [eax]
push 0x49b450
push ebx
call edx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x45753e
lea edx, [ebp + 8]
push edx
xor ebx, ebx
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push 0x49b400
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x457533
lea edx, [ebp + 0xc]
push edx
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [edi + 0x40]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457546
sub eax, ebx
sar eax, 1
add eax, eax
push eax
push edx
call fcn.00440de0
mov ecx, dword [esi]
push 0
lea edx, [ebp - 8]
mov dword [ebp - 4], ecx
push edx
mov ecx, 0x4a7d00
mov dword [ebp - 8], eax
call fcn.00450530
push eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x4a7d00
call fcn.0044d8a0
mov ecx, dword [esi]
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], ecx
push edx
mov ecx, 0x4a7c14
mov dword [ebp - 4], edi
call fcn.00450530
push eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x4a7c14
call fcn.0044d8a0
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10