Function at 0x431750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4594a5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x87c274]
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 0x431797
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x431797
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.00432db0
push 0x198
lea eax, [ebp - 0x20]
push eax
call fcn.00411a10
mov esi, dword [ebp - 0x20]
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.00412460
push dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00449b7c
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.0040b030
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 1
call fcn.0040b030
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0040b030
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040b030
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.0040b130
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b130
add edi, 0x18
lea ecx, [ebp - 0x38]
push edi
call fcn.0040b130
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b130
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x43190f
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x21b], 1
jne 0x4318de
push 0x45b89c
lea ecx, [ebp - 0x50]
call fcn.0040b1a0
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x431945
cmp byte [ebx + 0x156], 0
jne 0x431945
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.00432a40
jmp 0x431950
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4318f6
mov byte [ebx + 0x21b], 1
cmp dword [ebp - 0x28], eax
je 0x431945
cmp dword [ebp - 0x34], eax
jne 0x431934
push 0x45b89c
lea ecx, [ebp - 0x38]
call fcn.0040b1a0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x2c]
call fcn.00449b7c
push dword [ebp - 0x38]
call fcn.00449b7c
push dword [ebp - 0x44]
call fcn.00449b7c
push dword [ebp - 0x50]
call fcn.00449b7c
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