Function at 0x40e0f0
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x14]
push 0x2c
mov dword [edi + 0x10], eax
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004164f0
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
push 0x81
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0x40dfc0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x34], eax
mov eax, dword [0x48b1f8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x4890ac
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [edi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esp + 0x48]
call fcn.004012f0
lea edx, [esp + 0x48]
mov dword [esp + 0x88], 0
mov ecx, 1
call fcn.00401c20
mov eax, dword [esp + 0x54]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x58]
push 0
mov dword [edi + 0x1c], eax
call esi
sub eax, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
cdq
sub eax, edx
mov ebx, eax
push 1
sar ebx, 1
call esi
mov ecx, dword [esp + 0x10]
sub eax, edi
push 0
cdq
sub eax, edx
push dword [ecx + 0x14]
sar eax, 1
push 0
push 0
push edi
mov edi, ecx
push dword [edi + 0x18]
push eax
push ebx
push 0x960a0000
push 0
push 0x4890ac
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [edi], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push esi
mov dword [esp + 0x18], esi
call ebx
push dword [edi + 0x1c]
mov dword [edi + 0x20], eax
push dword [edi + 0x18]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
call edi
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
push dword [ecx + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x10]
push 1
push dword [esi + 0x20]
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esp + 0x14]
call ebx
push dword [esi + 0x1c]
mov ebx, dword [esp + 0x18]
push dword [esi + 0x18]
mov dword [esi + 0x24], eax
push ebx
call edi
mov edi, dword [esp + 0x10]
mov esi, eax
push esi
push dword [edi + 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push eax
sub esp, 8
push ecx
push eax
push 0
push 0
push dword [edi + 0x24]
lea ecx, [esp + 0x6c]
call fcn.00406460
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40e331
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
push eax
movdqu xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x70], 0xffffffff
mov word [esp + 0x68], 0
call esi
sub esp, 8
lea ecx, [edi + 0x2c]
push 0x16
push 0x1a
push 0
push 0xea
push 8
push dword [edi + 0x24]
call fcn.00401e40
push 0x43452c
push 0
push 0
push 0
push 0
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
push dword [edi + 0x24]
mov dword [edi + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [edi + 0x24]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x23
push 0x434c44
push 0x3c
push 0x19
push dword [edi + 0x24]
call dword [sym.imp.GDI32.dll_TextOutA]
push edi
push 0
push 0x40e0d0
call fcn.0041434b
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.004013a0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10