Function at 0x43f2f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4659b7
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x8a4a74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x43f337
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x43f337
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.0043d310
push 0x198
lea eax, [ebp - 0x20]
push eax
call fcn.00438550
mov esi, dword [eax]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [ebx + 4]
mov dword [ebp - 4], 0
call edi
push esi
push eax
call fcn.0041a1c0
push dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00454b56
add esp, 4
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
lea eax, [ebp - 0x50]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0040ea00
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 1
call fcn.0040ea00
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0040ea00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040ea00
lea esi, [ebx + 0x200]
mov dword [ebp - 4], 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x1c8]
lea edi, [ebx + 0x1d0]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], eax
call fcn.0040ed30
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ed30
add edi, 0x18
lea ecx, [ebp - 0x38]
push edi
call fcn.0040ed30
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ed30
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x43f493
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x21b], 1
jne 0x43f47d
push 0x468aa4
lea ecx, [ebp - 0x50]
call fcn.0040ee80
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x10]
jmp 0x43f4c9
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x43f4cd
mov byte [ebx + 0x21b], 1
cmp dword [ebp - 0x28], esi
je 0x43f4c9
cmp dword [ebp - 0x34], esi
jne 0x43f4b8
push 0x468aa4
lea ecx, [ebp - 0x38]
call fcn.0040ee80
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
je 0x43f4e6
cmp byte [ebx + 0x156], 0
jne 0x43f4e6
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.0043eee0
jmp 0x43f4f1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x2c]
call fcn.00454b56
push dword [ebp - 0x38]
call fcn.00454b56
push dword [ebp - 0x44]
call fcn.00454b56
push dword [ebp - 0x50]
call fcn.00454b56
add esp, 0x10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret