Function at 0x404f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5079fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5a8314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc8], 0
lea ecx, [edi + 0xcc]
mov dword [ebp - 4], 0
call fcn.00405570
mov dword [edi + 0x1f0], 0
xor eax, eax
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov dword [edi + 0x210], 0
mov dword [edi + 0x214], 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x260], eax
mov dword [edi + 0x264], eax
mov dword [edi + 0x278], eax
mov dword [edi + 0x274], eax
mov dword [edi + 0x27c], eax
mov dword [edi + 0x284], eax
mov dword [edi + 0x280], eax
mov dword [edi + 0x288], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x298]
add eax, 0x1eac
push eax
call fcn.00403a90
mov byte [ebp - 4], 4
lea eax, [edi + 0x350]
mov ecx, 2
nop dword [eax]
mov dword [eax], 0
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0
mov dword [eax - 8], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x405190
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4051c0
mov eax, dword [0x5a9890]
sub esi, ecx
test eax, eax
je 0x4051d8
inc dword [eax + 0x37c]
push dword [0x5a9898]
inc esi
push esi
call dword [0x5a8038]
push esi
mov esi, dword [ebp + 0xc]
push esi
push eax
call fcn.004dedf0
push 0
push 0
push esi
mov dword [edi], eax
call fcn.0040cc90
mov dword [edi + 4], eax
add esp, 0x20
mov ecx, dword [edi + 0xc0]
mov eax, dword [edi + 0xc4]
cmp ecx, eax
jne 0x4052c8
inc ecx
test eax, eax
je 0x40522b
cdq
sub eax, edx
mov edx, dword [edi + 0xc4]
sar eax, 1
add eax, edx
jmp 0x405236
mov edx, dword [edi + 0xc4]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jle 0x4052c8
mov eax, dword [0x5a9890]
test eax, eax
je 0x405255
inc dword [eax + 0x37c]
push dword [0x5a9898]
lea eax, [ecx*4]
push eax
call dword [0x5a8038]
mov edx, dword [edi + 0xc8]
add esp, 8
mov dword [ebp + 0xc], eax
test edx, edx
je 0x4052b9
mov ecx, dword [edi + 0xc0]
shl ecx, 2
push ecx
push edx
push eax
call fcn.004dedf0
mov ecx, dword [edi + 0xc8]
add esp, 0xc
test ecx, ecx
je 0x4052a6
mov eax, dword [0x5a9890]
test eax, eax
je 0x4052a6
dec dword [eax + 0x37c]
push dword [0x5a9898]
push ecx
call dword [0x5a803c]
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [edi + 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc4], eax
mov edx, dword [edi + 0xc0]
mov ecx, dword [edi + 0xc8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea ecx, [esi + 1]
inc dword [edi + 0xc0]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x405350
sub esi, ecx
lea eax, [esi + 1]
mov dword [edi + 0x44], eax
mov ecx, dword [edi + 0xc0]
mov eax, dword [edi + 0xc8]
push dword [eax + ecx*4 - 4]
push 0
push str.MOVE
call fcn.0040cc90
mov ecx, dword [0x5a9890]
add esp, 0xc
cmp dword [ecx + 0x2020], eax
jne 0x405392
mov dword [ecx + 0x2024], eax
cmp dword [ecx + 0x205c], eax
jne 0x4053a1
mov byte [ecx + 0x2060], 1
mov dword [edi + 0x48], eax
lea ecx, [edi + 0x298]
xor eax, eax
mov dword [edi + 0x4c], 0
mov word [edi + 0x8a], ax
xorps xmm0, xmm0
or eax, 0xffffffff
mov dword [edi + 0x50], 0
mov word [edi + 0x8c], ax
mov word [edi + 0x8e], ax
mov dword [edi + 0x98], eax
mov dword [edi + 0x268], eax
mov dword [edi + 0x290], eax
mov eax, dword [edi]
mov dword [edi + 0x54], 0
mov dword [edi + 0x64], 0x7f7fffff
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x3f000000
mov dword [edi + 0x70], 0x3f000000
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov byte [edi + 0x88], 0xff
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0xffff
mov dword [edi + 0xa0], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xac], 0xf
mov dword [edi + 0xa8], 0xf
mov dword [edi + 0xa4], 0xf
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xbc], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mov dword [edi + 0xb4], 0x7f7fffff
movups xmmword [edi + 0x200], xmm0
mov dword [edi + 0x26c], 0xbf800000
mov dword [edi + 0x270], 0
mov dword [edi + 0x28c], 0x3f800000
mov dword [edi + 0x294], ecx
mov dword [ecx + 0x2c], eax
mov eax, edi
mov dword [edi + 0x334], 0
mov dword [edi + 0x338], 0
mov dword [edi + 0x33c], 0
mov dword [edi + 0x340], 0
mov dword [edi + 0x34c], 0
mov dword [edi + 0x348], 0
movups xmmword [edi + 0x360], xmm0
movups xmmword [edi + 0x350], xmm0
mov dword [edi + 0x344], 0
mov byte [edi + 0x370], 0
mov dword [edi + 0x378], 0
mov dword [edi + 0x374], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8