Function at 0x431320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a195
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x795a74]
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 0x431367
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x431367
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.00432980
push 0x198
lea eax, [ebp - 0x20]
push eax
call fcn.004115e0
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.00412030
push dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a85c
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.0040abf0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 1
call fcn.0040abf0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0040abf0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040abf0
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.0040acf0
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040acf0
add edi, 0x18
lea ecx, [ebp - 0x38]
push edi
call fcn.0040acf0
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x4314df
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x21b], 1
jne 0x4314ae
push 0x45c89c
lea ecx, [ebp - 0x50]
call fcn.0040ad60
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 0x431515
cmp byte [ebx + 0x156], 0
jne 0x431515
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.00432610
jmp 0x431520
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4314c6
mov byte [ebx + 0x21b], 1
cmp dword [ebp - 0x28], eax
je 0x431515
cmp dword [ebp - 0x34], eax
jne 0x431504
push 0x45c89c
lea ecx, [ebp - 0x38]
call fcn.0040ad60
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.0044a85c
push dword [ebp - 0x38]
call fcn.0044a85c
push dword [ebp - 0x44]
call fcn.0044a85c
push dword [ebp - 0x50]
call fcn.0044a85c
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