Function at 0x4031b0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4d500c]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4dea20
push 0x67
push edi
call esi
push 0x64
push 0x4de948
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x403470
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0x6d
mov dword [esp + 0x3c], 0x4de948
call esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push 0x4dea20
push 0x4de948
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x4032a9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80080
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 0x4bf508
push 1
push 0
push 0x4bf518
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40330e
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x40330e
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov eax, dword [esp + 0x58]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x58]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 2
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x402660
push esi
push 0x86
push edi
mov dword [0x4deae8], esi
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x4dea14], eax
test eax, eax
je 0x403355
push 1
push eax
call ebx
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 0
push dword [0x4deae8]
push 0x40b810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x403385
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6d
push edi
mov dword [0x4dea10], esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x44]
push 0
push eax
call esi
test eax, eax
je 0x40340f
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax + eax]
mov eax, dword [0x4dea14]
test eax, eax
je 0x4033d9
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4033fe
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4033fe
lea eax, [esp + 0x3c]
push eax
call edi
lea eax, [esp + 0x3c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
jne 0x4033c0
mov edi, dword [0x4dea10]
test edi, edi
je 0x403451
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xa
push 0x2710
push edi
call ebx
cmp eax, 0x102
jne 0x40343a
mov eax, esi
dec esi
test eax, eax
jg 0x403424
mov edi, dword [0x4dea10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4dea10], 0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044ae26
mov esp, ebp
pop ebp
ret 0x10