Function at 0x41a840
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546a80
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x5939d0
push 0x67
push edi
call esi
push 0x64
push 0x593908
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x41aaa0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], edi
call esi
push 0x7f00
push 0
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x24], 0x6d
mov dword [ebp - 0x20], 0x593908
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push bind
push 0
push bind
push 0xcf0000
push 0x5939d0
push 0x593908
push 0
mov dword [0x593900], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x41aa7a
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 0x68], eax
call fcn.00413290
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x415a40
push 0
push 0
mov dword [ebp - 0x14], 0
call edi
cmp dword [0x5938f8], 0
jne 0x41a9a1
push 4
call fcn.005186a6
add esp, 4
mov dword [0x5938f8], eax
mov dword [eax], 0
call fcn.00413290
mov ecx, dword [0x5938f8]
mov dword [ecx], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0x417890
push 0
push 0
call edi
call fcn.00418550
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0x4199e0
push 0
push 0
call edi
cmp dword [0x5938f0], 0
jne 0x41aa09
push 0x10
call fcn.005186a6
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
push 0
mov byte [esi], 0
call fcn.00405010
mov dword [0x5938f0], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0x403930
push 0
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x64]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x41aa75
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x41aa65
lea eax, [ebp - 0x64]
push eax
call edi
lea eax, [ebp - 0x64]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call esi
test eax, eax
jne 0x41aa45
mov eax, dword [ebp - 0x5c]
jmp 0x41aa7c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
ret 0x10