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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42a238
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.00415640
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], 0x40d110
call dword [0x42b288]
push 0x7f00
push 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], 0
call dword [0x42b28c]
mov dword [esp + 0x34], eax
mov eax, dword [0x489954]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x488018
call dword [0x42b284]
lea eax, [edi + 0x60]
push eax
call dword [0x42b16c]
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 [0x42b280]
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 0x4334f4
push 0x488018
push 0
call dword [0x42b2f8]
push eax
mov dword [edi], eax
call dword [0x42b2a4]
mov ebx, dword [0x42b010]
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 [0x42b040]
push esi
call edi
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
push dword [ecx + 0x20]
call dword [0x42b04c]
push esi
call dword [0x42b050]
mov esi, dword [esp + 0x10]
push 1
push dword [esi + 0x20]
call dword [0x42b02c]
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 [0x42b04c]
push esi
mov esi, dword [0x42b050]
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.00406360
push ebx
push dword [edi]
call dword [0x42b2cc]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x40d484
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 0x433500
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 [0x42b034]
push eax
push dword [edi + 0x24]
mov dword [edi + 0x28], eax
call dword [0x42b04c]
push 1
push dword [edi + 0x24]
call dword [0x42b02c]
push 0x23
push 0x433c10
push 0x3c
push 0x19
push dword [edi + 0x24]
call dword [0x42b018]
push edi
push 0
push 0x40d220
call fcn.0041349b
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