Function at 0x42f950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa3ff10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0xa7f064]
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 0x42f997
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x42f997
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.00431120
push 0x198
lea eax, [ebp - 0x20]
push eax
call fcn.00410e70
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.004118c0
push dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.009abb15
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.0040a500
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 1
call fcn.0040a500
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0040a500
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040a500
lea esi, [ebx + 0x210]
mov dword [ebp - 4], 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x1d8]
lea edi, [ebx + 0x1e0]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], eax
call fcn.0040a600
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a600
add edi, 0x18
lea ecx, [ebp - 0x38]
push edi
call fcn.0040a600
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a600
push esi
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x42faf4
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x22b], 1
jne 0x42fade
push 0xa44924
lea ecx, [ebp - 0x50]
call fcn.0040a670
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 0x42fb2a
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x42fb2e
mov byte [ebx + 0x22b], 1
cmp dword [ebp - 0x28], esi
je 0x42fb2a
cmp dword [ebp - 0x34], esi
jne 0x42fb19
push 0xa44924
lea ecx, [ebp - 0x38]
call fcn.0040a670
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 0x42fb47
cmp byte [ebx + 0x156], 0
jne 0x42fb47
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.00430e60
jmp 0x42fb52
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x2c]
call fcn.009abb15
push dword [ebp - 0x38]
call fcn.009abb15
push dword [ebp - 0x44]
call fcn.009abb15
push dword [ebp - 0x50]
call fcn.009abb15
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