Function at 0x407a60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46362b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x11], 1
call fcn.004470fd
add esp, 4
xor ebx, ebx
mov dword [esi + 8], ebx
push 0x487e14
mov dword [esi + 4], ebx
mov dword [ebp - 0x24], 0x487e14
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x487e10]
inc eax
lea edi, [esi + 0x10]
push edi
mov ecx, 0x487e2c
mov dword [ebp - 4], ebx
mov dword [0x487e10], eax
mov dword [edi], eax
call fcn.004079e0
mov dword [eax], esi
lea eax, [ebp - 0x11]
push eax
push 0x406da0
push ebx
push 0x67
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [esi], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
lea ebx, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x487e14
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x48
mov dword [ebp - 4], 1
call fcn.00447245
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x407b3e
mov ecx, dword [ebp + 8]
mov edx, dword [edi]
push ecx
push edx
mov ecx, eax
call fcn.00407020
mov ecx, eax
jmp 0x407b40
xor ecx, ecx
mov eax, dword [ecx]
mov byte [ebp - 4], 1
call dword [eax + 8]
mov al, byte [ebp - 0x11]
test al, al
je 0x407bcc
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0x4ff
push 0xffffffffffffffff
push 0
push ebx
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
jne 0x407bcc
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x40]
push edx
call edi
test eax, eax
je 0x407b9c
mov edi, edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
call edi
test eax, eax
jne 0x407b80
mov al, byte [ebp - 0x11]
test al, al
jne 0x407b56
jmp 0x407bcc
push 0x487e14
mov dword [ebp + 8], 0x487e14
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esi + 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x487e2c
mov dword [ebp - 4], 4
call fcn.00407160
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp edx, edi
mov ecx, edx
je 0x407c4e
mov al, byte [ecx + 0x15]
test al, al
jne 0x407c4a
mov eax, dword [ecx + 8]
mov bl, byte [eax + 0x15]
test bl, bl
jne 0x407c2d
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0x15]
test bl, bl
jne 0x407c4a
nop
mov ecx, eax
mov eax, dword [ecx]
mov bl, byte [eax + 0x15]
test bl, bl
je 0x407c20
jmp 0x407c4a
mov eax, dword [ecx + 4]
mov bl, byte [eax + 0x15]
test bl, bl
jne 0x407c48
cmp ecx, dword [eax + 8]
jne 0x407c48
mov ecx, eax
mov eax, dword [eax + 4]
mov bl, byte [eax + 0x15]
test bl, bl
je 0x407c37
mov ecx, eax
cmp ecx, edi
jne 0x407c03
push edi
push edx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x487e2c
call fcn.004076c0
push 0x487e14
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 8]
test eax, eax
mov dword [esi], 0
je 0x407cc6
push 0xff
push eax
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 0x140], 0
call fcn.00447110
add esp, 0xc
mov ecx, 0x40
lea esi, [ebp - 0x140]
lea edi, [ebp - 0x240]
rep movsd dword es:[edi], dword [esi]
push 0x47bc3c
lea ecx, [ebp - 0x240]
push ecx
call fcn.0044777e
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4