Function at 0x4a16a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52efc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x551e00]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x18]
mov edi, dword [esp + 0x74]
xorps xmm0, xmm0
mov esi, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
push 0
push eax
mov dword [esp + 0x1c], eax
movdqu xmmword [esp + 0x20], xmm0
mov dword [esp + 0x40], 0
movdqu xmmword [esp + 0x30], xmm0
call fcn.00499dd0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x24], eax
mov dword [esp + 0x70], 0
cmovne eax, dword [esp + 0x20]
push eax
push esi
push dword [esp + 0x88]
push dword [esp + 0x88]
push edi
call fcn.004a05d0
cmp dword [esp + 0xc], 0
mov edi, eax
mov dword [esp + 0x10], edi
je 0x4a1b62
test edi, edi
je 0x4a1b62
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
cmp edi, esi
mov dword [esp + 0x5c], 0
xorps xmm0, xmm0
cmovb esi, edi
push 0
push esi
mov dword [esp + 0x1c], esi
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x54], xmm0
call fcn.00499eb0
xor eax, eax
test esi, esi
je 0x4a1b3a
lea esp, [esp]
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx], edx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 0x280]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 0x214], edx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 4]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 4], edx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, word [edx + ecx + 8]
mov ecx, dword [esp + 0x40]
mov word [esi + ecx + 8], dx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, word [edx + ecx + 0xa]
mov ecx, dword [esp + 0x40]
mov word [esi + ecx + 0xa], dx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 0xc], edx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 0x10], edx
cmp eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sbb edx, edx
mov edi, dword [esp + 0x40]
and edx, eax
add esi, 0x14
shl edx, 0xa
add esi, edx
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
add edi, 0x14
and ecx, eax
imul edx, ecx, 0x24c
mov ecx, 0x80
add edi, edx
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 0x284]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 0x218], edx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 0x288]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 0x21c], edx
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx + 0x2ac]
mov ecx, dword [esp + 0x40]
mov dword [esi + ecx + 0x220], edx
cmp eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sbb edx, edx
and edx, eax
shl edx, 0xa
add esi, edx
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
movdqu xmm0, xmmword [esi + 0x2b0]
imul edx, ecx, 0x24c
mov ecx, dword [esp + 0x40]
movdqu xmmword [edx + ecx + 0x224], xmm0
cmp eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sbb edx, edx
and edx, eax
shl edx, 0xa
add esi, edx
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
movdqu xmm0, xmmword [esi + 0x2c0]
imul edx, ecx, 0x24c
mov ecx, dword [esp + 0x40]
movdqu xmmword [edx + ecx + 0x234], xmm0
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, byte [edx + ecx + 0x31c]
mov ecx, dword [esp + 0x40]
mov byte [esi + ecx + 0x244], dl
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, byte [edx + ecx + 0x31d]
mov ecx, dword [esp + 0x40]
mov byte [esi + ecx + 0x245], dl
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, byte [edx + ecx + 0x31f]
mov ecx, dword [esp + 0x40]
mov byte [esi + ecx + 0x246], dl
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, byte [edx + ecx + 0x320]
mov ecx, dword [esp + 0x40]
mov byte [esi + ecx + 0x247], dl
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, byte [edx + ecx + 0x321]
mov ecx, dword [esp + 0x40]
mov byte [esi + ecx + 0x248], dl
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
imul edx, ecx, 0x24c
mov ecx, dword [esp + 0x40]
mov byte [edx + ecx + 0x249], 0
cmp eax, dword [esp + 0x20]
sbb edx, edx
and edx, eax
shl edx, 0xa
cmp eax, dword [esp + 0x44]
sbb ecx, ecx
and ecx, eax
inc eax
imul esi, ecx, 0x24c
mov ecx, dword [esp + 0x1c]
movzx edx, word [edx + ecx + 0x334]
mov ecx, dword [esp + 0x40]
mov word [esi + ecx + 0x24a], dx
mov esi, dword [esp + 0x14]
cmp eax, esi
jb 0x4a17a0
mov edi, dword [esp + 0x10]
xor ecx, ecx
cmp dword [esp + 0x44], ecx
cmovne ecx, dword [esp + 0x40]
imul eax, esi, 0x24c
push eax
push ecx
push dword [esp + 0x14]
call fcn.004fa290
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.0049b650
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0049b570
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004f9e32
add esp, 0x64
ret 0x18