Function at 0x407780
Capabilities:
Accept command line arguments
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c14c
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x5a02e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0044b854
call fcn.0044d39e
test eax, eax
jne 0x4077f0
push 0xffffffffffffffff
push eax
push 0x64
call fcn.0044d6de
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.0044df57
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
call dword [sym.imp.USER32.dll_GetInputState]
call fcn.00407300
push 0
push 0
push 0
push 0x4075c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
or ebx, 0xffffffff
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ecx, esi
call fcn.0044cf47
push 0x57bd60
mov ecx, esi
call fcn.0044ca80
push 4
mov ecx, esi
call fcn.0044a6e4
mov ecx, esi
call fcn.0044bc1b
mov ecx, esi
call fcn.0044bc68
mov ecx, esi
call fcn.0044bbcb
lea ecx, [ebp - 0x78]
push ecx
mov edi, 1
push 0x555590
push 0xffff
mov ecx, 0x5aa820
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0xc8
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x60], edi
call fcn.0044bcb5
mov ecx, eax
call fcn.0044e4d9
push 0xb0
call fcn.00408db9
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40792b
push 0x57c32c
push 0x57b65c
push 0x57c1d8
push 0x82
mov ecx, eax
call fcn.0044fe64
jmp 0x40792d
xor eax, eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x407a1d
push eax
mov ecx, esi
call fcn.004502ca
push 0x4b5c
call fcn.00408db9
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x407961
push eax
call fcn.00405e80
mov edi, eax
jmp 0x407963
xor edi, edi
mov dword [ebp - 4], ebx
test edi, edi
je 0x407a1d
mov edx, dword [edi]
mov eax, dword [edx + 0x164]
push 0
push 0
push 0xcf8000
push 0x80
mov ecx, edi
call eax
test eax, eax
je 0x407a12
lea ecx, [ebp - 0x44]
mov dword [esi + 0x20], edi
call fcn.0044b187
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0044a76a
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
call fcn.0045011a
test eax, eax
jne 0x4079db
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0044b1f1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
push eax
mov ecx, edi
call fcn.0041802e
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0044b1f1
mov eax, 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
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret