Function at 0x485fd3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x698
push esi
xor eax, eax
mov dword [esp + 0xb8], ecx
push edi
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x23], dl
mov dword [esp + 0x40], eax
mov byte [esp + 0xc4], al
call fcn.0040d72a
sub esp, 0x10
mov ecx, esp
push ecx
push ecx
mov eax, esp
and dword [eax], 0
and dword [eax + 4], 0
call fcn.0040b709
pop ecx
pop ecx
mov eax, 0xa5620fee
mov dword [esp + 0x30], 0x8534dfa2
mov ecx, 0xffb2cff4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], 0x34f6c9f8
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0x60], 0xee5bb0c1
mov dword [esp + 0x64], 0x3485ac91
pxor xmm1, xmmword [esp + 0x60]
push eax
movaps xmmword [esp + 0x34], xmm1
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
push 0x104
lea eax, [esp + 0x59c]
push 0
push eax
call fcn.00438880
add esp, 0xc
lea eax, [esp + 0x598]
xor ecx, ecx
push eax
movzx eax, byte [esp + 0x23]
xor eax, 1
push ecx
push ecx
lea eax, [eax*2 + 0x1a]
push eax
push ecx
call dword [0x4d62bc]
lea eax, [ebp + 0x10]
push eax
lea edx, [esp + 0x59c]
lea ecx, [esp + 0x524]
call fcn.0040ef10
xor eax, eax
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [esp + 0x538]
push eax
call fcn.0040dfa6
push 0
mov dl, 1
lea ecx, [esp + 0x10c]
call fcn.0048d94f
mov esi, dword [esp + 0x10c]
add esp, 0x1c
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x18], esi
sub eax, esi
jne 0x4861d7
mov edx, dword [esp + 0xbc]
xorps xmm0, xmm0
mov al, byte [esp + 0xc0]
mov ecx, dword [esp + 0xcc]
mov byte [esp + 0xc0], 0
mov byte [edx], al
mov eax, dword [esp + 0xc8]
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0xf0]
mov dword [edx + 8], eax
movlpd qword [esp + 0xc8], xmm0
call fcn.0040da76
mov esi, dword [esp + 0x44]
test esi, esi
je 0x48813b
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
push 0x18
pop edi
cmp esi, eax
je 0x486197
mov ecx, esi
call fcn.004077ce
add esi, edi
cmp esi, dword [esp + 0x10]
jne 0x486184
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
sub eax, esi
mov dword [esp + 0x60], esi
cdq
idiv edi
imul eax, eax, 0x18
mov dword [esp + 0x40], eax
cmp eax, 0x1000
jb 0x4861cb
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x68]
pop ecx
pop ecx
push eax
push esi
call fcn.0041e009
jmp 0x488139
push 0x18
cdq
pop edi
idiv edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x486439
mov ecx, 0xa5620fee
mov dword [esp + 0xa0], 0xee5bb0c1
mov edx, 0xffb2cff4
mov dword [esp + 0xa4], 0x3485ac91
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
cmp byte [ebp + 0xc], 0
je 0x486267
mov dword [esp + 0x20], 0x9a3efe9d
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0x5ff7c3e6
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
pxor xmm1, xmmword [esp + 0x50]
movaps xmmword [esp + 0x20], xmm1
mov dword [esp + 0x40], eax
jmp 0x48626f
mov dword [esp + 0x40], 0x4ea787
mov dword [esp + 0xd8], ecx
lea eax, [esp + 0xd0]
mov dword [esp + 0xdc], edx
lea ecx, [esp + 0x328]
mov dword [esp + 0xd0], 0xee5bb09d
lea edx, [esp + 0x520]
mov dword [esp + 0xd4], 0x3485ac91
movaps xmm0, xmmword [esp + 0xd0]
pxor xmm0, xmmword [esp + 0xa0]
push eax
movaps xmmword [esp + 0xd4], xmm0
call fcn.0040eea7
pop ecx
push esi
mov ecx, eax
call fcn.0040c90c
push eax
lea ecx, [esp + 0x14c]
call fcn.00407752
mov edx, dword [esp + 0x40]
sub esp, 0x18
mov ecx, edx
mov dword [esp + 0x7c], esp
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4862f1
sub ecx, dword [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x168]
call fcn.0040df4d
mov ecx, dword [esp + 0x7c]
push eax
call fcn.00407752
push 0
xor dl, dl
lea ecx, [esp + 0x14c]
call fcn.0048d94f
add esp, 0x1c
lea ecx, [esp + 0x148]
call fcn.004077ce
lea ecx, [esp + 0x328]
call fcn.004077ce
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x64], ecx
sub eax, ecx
je 0x486412
cdq
idiv edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x486412
mov esi, dword [esp + 0x48]
push 0
lea eax, [ebp + 0x28]
push eax
call fcn.0040c81b
cmp eax, 0xffffffff
je 0x4863f9
mov ecx, dword [esp + 0x44]
mov eax, esi
sub eax, ecx
and dword [esp + 0x40], 0
cdq
idiv edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x84], eax
test eax, eax
je 0x4863c4
mov edx, dword [esp + 0x18]
call fcn.0040efa8
test al, al
jne 0x4863f9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
inc eax
add ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], ecx
cmp eax, dword [esp + 0x84]
jb 0x48639b
push dword [esp + 0x18]
cmp esi, dword [esp + 0x50]
je 0x4863eb
xor eax, eax
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040dfa6
mov esi, dword [esp + 0x48]
add esi, edi
mov dword [esp + 0x48], esi
jmp 0x4863f9
push esi
lea ecx, [esp + 0x4c]
call fcn.0041030b
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
add ecx, edi
sub dword [esp + 0x14], 1
mov dword [esp + 0x64], ecx
jne 0x48636c
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x130]
call fcn.0040da76
add esi, edi
mov ecx, 0xa5620fee
sub dword [esp + 0x10], 1
mov edx, 0xffb2cff4
mov dword [esp + 0x18], esi
jne 0x486217
lea ecx, [esp + 0xf0]
call fcn.0040da76
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x44]
jne 0x4864dd
push eax
push 0x4ea78e
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0xf
call fcn.00407850
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x68]
push ecx
cmp eax, dword [esp + 0x50]
je 0x486494
mov ecx, eax
call fcn.00407752
add dword [esp + 0x48], edi
jmp 0x48649e
push eax
lea ecx, [esp + 0x4c]
call fcn.004101c9
mov eax, dword [esp + 0x7c]
cmp eax, 0x10
jb 0x4864dd
mov ecx, dword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x4864d4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
mov edx, 0x3485ac91
mov dword [esp + 0x20], 0xee5bb09d
mov eax, 0xa5620fee
mov dword [esp + 0x24], edx
mov ecx, 0xffb2cff4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x520]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x148]
mov dword [esp + 0x50], 0xee5bb0c1
pxor xmm1, xmmword [esp + 0x50]
push eax
movaps xmmword [esp + 0x24], xmm1
call fcn.0040eea7
sub esp, 0x14
lea ecx, [ebp + 0x40]
cmp dword [ebp + 0x54], 0x10
mov esi, esp
cmovae ecx, dword [ebp + 0x40]
push dword [ebp + 0x50]
push ecx
mov ecx, eax
call fcn.0040df4d
push eax
mov ecx, esi
call fcn.00407752
lea ecx, [esp + 0x580]
call fcn.0049bff1
add esp, 0x18
lea ecx, [esp + 0x148]
call fcn.004077ce
xor eax, eax
mov dword [esp + 0x114], 0xf
push eax
push 0x4ea78f
lea ecx, [esp + 0x108]
mov dword [esp + 0x108], eax
mov dword [esp + 0x118], eax
call fcn.00407850
cmp dword [esp + 0x578], 0
je 0x486809
sub esp, 0x28
lea edx, [esp + 0x590]
mov eax, esp
push ecx
and dword [eax + 0x24], 0
push ecx
lea ecx, [esp + 0xd0]
call fcn.0040f0b7
mov eax, 0xffb2cff4
mov dword [esp + 0x50], 0x8d04c3ae
mov esi, 0xa5620fee
mov dword [esp + 0x5c], eax
add esp, 0x30
mov dword [esp + 0x24], 0x40f5d5e3
mov dword [esp + 0x28], esi
lea ecx, [esp + 0xa0]
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], esi
pxor xmm1, xmmword [esp + 0x50]
push eax
movaps xmmword [esp + 0x24], xmm1
call fcn.0040efd9
cmp byte [eax], 0
je 0x4867f4
mov eax, 0xffb2cff4
mov dword [esp + 0x20], 0x8d04c3ae
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], 0x40f5d5e3
mov dword [esp + 0x28], esi
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], esi
pxor xmm1, xmmword [esp + 0x50]
push eax
movaps xmmword [esp + 0x24], xmm1
call fcn.0040efd9
mov dword [esp + 0x20], 0x9c38dea4
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0x51f1dce8
mov dword [esp + 0x28], 0xc009508a
mov dword [esp + 0x2c], 0xffb2cf8d
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x50]
push ecx
mov ecx, eax
movaps xmmword [esp + 0x24], xmm1
call fcn.0040efd9
cmp byte [eax], 0
je 0x4867f4
mov eax, 0xffb2cff4
mov dword [esp + 0x20], 0x8d04c3ae
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], 0x40f5d5e3
mov dword [esp + 0x28], esi
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], esi
pxor xmm1, xmmword [esp + 0x50]
push eax
movaps xmmword [esp + 0x24], xmm1
call fcn.0040efd9
mov dword [esp + 0x20], 0x9c38dea4
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0x51f1dce8
mov dword [esp + 0x28], 0xc009508a
mov dword [esp + 0x2c], 0xffb2cf8d
movaps xmm1, xmmword [esp + 0x20]
mov dword [esp + 0x50], 0xee5bb0c1
mov dword [esp + 0x54], 0x3485ac91
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x50]
push ecx
mov ecx, eax
movaps xmmword [esp + 0x24], xmm1
call fcn.0040efd9
lea ecx, [esp + 0x328]
push ecx
mov ecx, eax
call fcn.0040f086
mov edx, eax
lea ecx, [esp + 0x148]
call fcn.0045b6c6
lea ecx, [esp + 0x100]
cmp ecx, eax
je 0x4867dc
mov byte [esp + 0x84], 0
push dword [esp + 0x84]
push eax
call fcn.0040e008
lea ecx, [esp + 0x148]
call fcn.004077ce
lea ecx, [esp + 0x328]
call fcn.004077ce
push dword [esp + 0xa0]
lea ecx, [esp + 0xac]
call fcn.0040d446
jmp 0x48680e
mov esi, 0xa5620fee
mov eax, dword [esp + 0x48]
xor edx, edx
mov ecx, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x40], edx
cdq
idiv edi
test eax, eax
je 0x48801f
mov edx, 0x3485ac91
mov dword [esp + 0x468], esi
mov eax, 0xffb2cff4
mov dword [esp + 0x478], esi
mov dword [esp + 0x378], esi
mov dword [esp + 0x388], esi
mov dword [esp + 0x458], esi
xor esi, esi
mov dword [esp + 0x460], 0xee5bb0c1
mov dword [esp + 0x464], edx
mov dword [esp + 0x46c], eax
mov dword [esp + 0x470], 0xee5bb0c1
mov dword [esp + 0x474], edx
mov dword [esp + 0x47c], eax
mov dword [esp + 0x370], 0xee5bb0c1
mov dword [esp + 0x374], edx
mov dword [esp + 0x37c], eax
mov dword [esp + 0x380], 0xee5bb0c1
mov dword [esp + 0x384], edx
mov dword [esp + 0x38c], eax
mov dword [esp + 0x450], 0xee5bb0c1
mov dword [esp + 0x454], edx
mov dword [esp + 0x45c], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x144], 0x8f02c9ea
mov dword [esp + 0x80], 0x90e4a8f0
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x244], edx
or eax, 2
mov dword [esp + 0x240], 0xee5bb09d
lea edx, [esi + ecx]
mov dword [esp + 0x248], 0xa5620fee
lea ecx, [esp + 0x538]
movaps xmm0, xmmword [esp + 0x240]
pxor xmm0, xmmword [esp + 0x460]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x240]
push eax
movaps xmmword [esp + 0x244], xmm0
call fcn.0040eea7
mov dword [esp + 0x254], 0xee5bb09d
lea edx, [esp + 0x524]
mov dword [esp + 0x258], 0x3485ac91
mov esi, eax
mov dword [esp + 0x25c], 0xa5620fee
lea eax, [esp + 0x254]
mov dword [esp + 0x260], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x254]
pxor xmm0, xmmword [esp + 0x474]
pop ecx
push eax
lea ecx, [esp + 0x8c]
movaps xmmword [esp + 0x254], xmm0
call fcn.0040eea7
pop ecx
push esi
push eax
push dword [esp + 0x88]
lea ecx, [esp + 0x74]
call fcn.004120e5
sub esp, 0x18
lea eax, [ebp + 0x40]
cmp dword [ebp + 0x54], 0x10
lea ecx, [esp + 0x80]
mov esi, esp
cmovae eax, dword [ebp + 0x40]
push dword [ebp + 0x50]
push eax
call fcn.0040df4d
push eax
mov ecx, esi
call fcn.00407752
lea ecx, [esp + 0x160]
call fcn.0049bff1
add esp, 0x18
lea ecx, [esp + 0x68]
call fcn.004077ce
lea ecx, [esp + 0x88]
call fcn.004077ce
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x538]
and eax, 0xfffffffd
mov dword [esp + 0x3c], eax
call fcn.004077ce
mov eax, dword [esp + 0x3c]
test al, 1
je 0x486a7b
and eax, 0xfffffffe
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x564]
cmp eax, 0x10
jb 0x486a7b
mov ecx, dword [esp + 0x550]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x486a72
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
xor eax, eax
mov dword [esp + 0x12c], 0xf
push eax
push 0x4ea793
lea ecx, [esp + 0x120]
mov dword [esp + 0x120], eax
mov dword [esp + 0x130], eax
call fcn.00407850
cmp dword [esp + 0x158], 0
je 0x486dbb
cmp dword [esp + 0x110], 0
jne 0x486dbb
sub esp, 0x28
lea edx, [esp + 0x170]
mov eax, esp
push ecx
and dword [eax + 0x24], 0
push ecx
lea ecx, [esp + 0x80]
call fcn.0040f0b7
mov eax, 0xffb2cff4
mov dword [esp + 0x290], 0x8d04c3ae
mov esi, 0xa5620fee
mov dword [esp + 0x29c], eax
add esp, 0x30
mov dword [esp + 0x264], 0x40f5d5e3
mov dword [esp + 0x268], esi
lea ecx, [esp + 0x50]
movaps xmm1, xmmword [esp + 0x260]
mov dword [esp + 0x48c], eax
lea eax, [esp + 0x260]
mov dword [esp + 0x480], 0xee5bb0c1
mov dword [esp + 0x484], 0x3485ac91
mov dword [esp + 0x488], esi
pxor xmm1, xmmword [esp + 0x480]
push eax
movaps xmmword [esp + 0x264], xmm1
call fcn.0040efd9
cmp byte [eax], 0
je 0x486dae
mov eax, 0xffb2cff4
mov dword [esp + 0x270], 0x8d04c3ae
mov dword [esp + 0x27c], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x274], 0x40f5d5e3
mov dword [esp + 0x278], esi
movaps xmm1, xmmword [esp + 0x270]
mov dword [esp + 0x49c], eax
lea eax, [esp + 0x270]
mov dword [esp + 0x490], 0xee5bb0c1
mov dword [esp + 0x494], 0x3485ac91
mov dword [esp + 0x498], esi
pxor xmm1, xmmword [esp + 0x490]
push eax
movaps xmmword [esp + 0x274], xmm1
call fcn.0040efd9
mov dword [esp + 0x280], 0x9c38dea4
lea ecx, [esp + 0x280]
mov dword [esp + 0x284], 0x51f1dce8
mov dword [esp + 0x288], 0xc009508a
mov dword [esp + 0x28c], 0xffb2cf8d
movaps xmm1, xmmword [esp + 0x280]
mov dword [esp + 0x4a0], 0xee5bb0c1
mov dword [esp + 0x4a4], 0x3485ac91
mov dword [esp + 0x4a8], esi
mov dword [esp + 0x4ac], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x4a0]
push ecx
mov ecx, eax
movaps xmmword [esp + 0x284], xmm1
call fcn.0040efd9
cmp byte [eax], 0
je 0x486dae
mov eax, 0xffb2cff4
mov dword [esp + 0x290], 0x8d04c3ae
mov dword [esp + 0x29c], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x294], 0x40f5d5e3
mov dword [esp + 0x298], esi
movaps xmm1, xmmword [esp + 0x290]
mov dword [esp + 0x34c], eax
lea eax, [esp + 0x290]
mov dword [esp + 0x340], 0xee5bb0c1
mov dword [esp + 0x344], 0x3485ac91
mov dword [esp + 0x348], esi
pxor xmm1, xmmword [esp + 0x340]
push eax
movaps xmmword [esp + 0x294], xmm1
call fcn.0040efd9
mov dword [esp + 0x2a0], 0x9c38dea4
lea ecx, [esp + 0x2a0]
mov dword [esp + 0x2a4], 0x51f1dce8
mov dword [esp + 0x2a8], 0xc009508a
mov dword [esp + 0x2ac], 0xffb2cf8d
movaps xmm1, xmmword [esp + 0x2a0]
mov dword [esp + 0x350], 0xee5bb0c1
mov dword [esp + 0x354], 0x3485ac91
mov dword [esp + 0x358], esi
mov dword [esp + 0x35c], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x350]
push ecx
mov ecx, eax
movaps xmmword [esp + 0x2a4], xmm1
call fcn.0040efd9
lea ecx, [esp + 0x538]
push ecx
mov ecx, eax
call fcn.0040f086
mov edx, eax
lea ecx, [esp + 0x550]
call fcn.0045b6c6
lea ecx, [esp + 0x118]
cmp ecx, eax
je 0x486d96
mov byte [esp + 0x84], 0
push dword [esp + 0x84]
push eax
call fcn.0040e008
lea ecx, [esp + 0x550]
call fcn.004077ce
lea ecx, [esp + 0x538]
call fcn.004077ce
push dword [esp + 0x50]
lea ecx, [esp + 0x5c]
call fcn.0040d446
mov eax, dword [esp + 0x128]
test eax, eax
jne 0x486dfa
cmp dword [esp + 0x114], 0x10
lea eax, [esp + 0x100]
push dword [esp + 0x110]
cmovae eax, dword [esp + 0x104]
lea ecx, [esp + 0x11c]
push eax
call fcn.00407850
mov eax, dword [esp + 0x128]
test eax, eax
push 0
lea ecx, [esp + 0xac]
mov byte [esp + 0xa4], 0
setne byte [esp + 0x23]
call fcn.0040d72a
sub esp, 0x10
mov ecx, esp
push ecx
push ecx
mov eax, esp
and dword [eax], 0
and dword [eax + 4], 0
call fcn.0040b709
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x78]
add eax, esi
pop ecx
pop ecx
push eax
lea ecx, [esp + 0xb4]
call fcn.0040b4c5
mov ecx, eax
call fcn.0040b5bd
cmp byte [ebp + 0xc], 0
je 0x486ecb
mov eax, 0xa5620fee
mov dword [esp + 0x160], 0x992fd58f
mov dword [esp + 0x168], eax
mov dword [esp + 0x164], 0x68eedefe
mov dword [esp + 0x16c], 0xffb2cff4
movaps xmm1, xmmword [esp + 0x160]
mov dword [esp + 0x368], eax
lea eax, [esp + 0x160]
mov dword [esp + 0x360], 0xee5bb0c1
mov dword [esp + 0x364], 0x3485ac91
mov dword [esp + 0x36c], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x360]
movaps xmmword [esp + 0x160], xmm1
mov dword [esp + 0x10], eax
jmp 0x486ed3
mov dword [esp + 0x10], 0x4ea796
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x538]
mov edx, dword [esp + 0x44]
or eax, 8
mov dword [esp + 0x170], 0xee5bb09d
mov dword [esp + 0x174], 0x3485ac91
mov dword [esp + 0x178], 0xa5620fee
mov dword [esp + 0x17c], 0xffb2cff4
lea edx, [esi + edx]
movaps xmm0, xmmword [esp + 0x170]
pxor xmm0, xmmword [esp + 0x370]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x170]
push eax
movaps xmmword [esp + 0x174], xmm0
call fcn.0040eea7
mov dword [esp + 0x184], 0xee5bb09d
lea edx, [esp + 0x524]
mov dword [esp + 0x188], 0x3485ac91
mov esi, eax
mov dword [esp + 0x18c], 0xa5620fee
lea eax, [esp + 0x184]
mov dword [esp + 0x190], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x184]
pxor xmm0, xmmword [esp + 0x384]
pop ecx
push eax
lea ecx, [esp + 0x554]
movaps xmmword [esp + 0x184], xmm0
call fcn.0040eea7
pop ecx
push esi
push eax
push dword [esp + 0x88]
lea ecx, [esp + 0x94]
call fcn.004120e5
mov edx, dword [esp + 0x10]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x486fc0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.0040df4d
push eax
lea ecx, [esp + 0x6c]
call fcn.00407752
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
push dword [ebp + 0x38]
cmovae eax, dword [ebp + 0x28]
lea ecx, [esp + 0x6c]
push eax
call fcn.0040df4d
push eax
lea ecx, [esp + 0x32c]
call fcn.00407752
lea ecx, [esp + 0x68]
call fcn.004077ce
lea ecx, [esp + 0x88]
call fcn.004077ce
lea ecx, [esp + 0x550]
call fcn.004077ce
and dword [esp + 0x3c], 0xfffffff7
lea ecx, [esp + 0x538]
call fcn.004077ce
mov eax, dword [esp + 0x3c]
test al, 4
je 0x48708c
and eax, 0xfffffffb
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x594]
cmp eax, 0x10
jb 0x48708c
mov ecx, dword [esp + 0x580]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x487083
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
cmp dword [esp + 0x33c], 0x10
lea ecx, [esp + 0x328]
lea edx, [esp + 0x64]
cmovae ecx, dword [esp + 0x328]
call fcn.004946ab
test eax, eax
jne 0x487efd
mov ecx, dword [esp + 0x80]
mov esi, 0xa5620fee
mov eax, dword [esp + 0x144]
mov dword [esp + 0x2b0], 0xab17f592
mov dword [esp + 0x2b4], 0x5ca5f8d2
mov dword [esp + 0x2b8], 0xfa167c81
mov dword [esp + 0x2bc], 0xd3cbaa9f
mov dword [esp + 0x2c0], 0x587a7523
mov dword [esp + 0x2c4], 0x27c3ebeb
mov dword [esp + 0x2c8], 0x79d401cf
mov dword [esp + 0x2cc], 0xaeb4da32
mov dword [esp + 0x2d0], 0x29f99e71
mov dword [esp + 0x2d4], 0xace4204c
mov dword [esp + 0x2d8], 0xd55e8347
mov dword [esp + 0x2dc], 0x5d2dc4bd
mov dword [esp + 0x2e0], 0x5a41c97f
mov dword [esp + 0x2e4], 0x785ba22
mov dword [esp + 0x2e8], 0x179c2b70
mov dword [esp + 0x2ec], 0x1925705c
mov dword [esp + 0x2f0], 0x856ca25
mov dword [esp + 0x2f4], 0x78f3c765
mov dword [esp + 0x2f8], 0xba786136
mov dword [esp + 0x2fc], 0xf6ab5ade
mov dword [esp + 0x300], 0x9619632e
mov dword [esp + 0x304], 0x12bdc89a
mov dword [esp + 0x308], 0x718e0c8
mov dword [esp + 0x30c], 0x6ffc7c7b
mov dword [esp + 0x310], 0x80cfa422
mov dword [esp + 0x314], 0x908e62ee
mov dword [esp + 0x318], eax
mov dword [esp + 0x31c], ecx
movaps xmm1, xmmword [esp + 0x2b0]
mov dword [esp + 0x4b0], 0xee5bb0c1
mov dword [esp + 0x4b4], 0x3485ac91
mov dword [esp + 0x4b8], esi
mov dword [esp + 0x4bc], 0xffb2cff4
pxor xmm1, xmmword [esp + 0x4b0]
movaps xmmword [esp + 0x2b0], xmm1
movaps xmm1, xmmword [esp + 0x2c0]
mov dword [esp + 0x4c0], 0x7091c03
mov dword [esp + 0x4c4], 0x57b79f83
mov dword [esp + 0x4c8], 0xb86fa0
mov dword [esp + 0x4cc], 0xcfc4fa1e
pxor xmm1, xmmword [esp + 0x4c0]
movaps xmmword [esp + 0x2c0], xmm1
movaps xmm1, xmmword [esp + 0x2d0]
mov dword [esp + 0x4d0], 0x9d5f605
mov dword [esp + 0x4d4], 0xdfbb5325
mov dword [esp + 0x4d8], 0xa72be022
mov dword [esp + 0x4dc], 0x380de8d8
pxor xmm1, xmmword [esp + 0x4d0]
movaps xmmword [esp + 0x2d0], xmm1
movaps xmm1, xmmword [esp + 0x2e0]
mov dword [esp + 0x4e0], 0x2828b907
mov dword [esp + 0x4e4], 0x72dac947
mov dword [esp + 0x4e8], 0x37b04804
mov dword [esp + 0x4ec], 0x7c481132
pxor xmm1, xmmword [esp + 0x4e0]
movaps xmmword [esp + 0x2e0], xmm1
movaps xmm1, xmmword [esp + 0x2f0]
mov dword [esp + 0x4f0], 0x6920ea09
mov dword [esp + 0x4f4], 0x5496b209
mov dword [esp + 0x4f8], 0xd9160416
mov dword [esp + 0x4fc], 0x82db23ac
pxor xmm1, xmmword [esp + 0x4f0]
movaps xmmword [esp + 0x2f0], xmm1
movaps xmm1, xmmword [esp + 0x300]
mov dword [esp + 0x500], 0xe046074b
mov dword [esp + 0x504], 0x77c8a4fb
mov dword [esp + 0x508], 0x484aa6e8
mov dword [esp + 0x50c], 0x9f5c36
pxor xmm1, xmmword [esp + 0x500]
movaps xmmword [esp + 0x300], xmm1
movaps xmm1, xmmword [esp + 0x310]
mov dword [esp + 0x510], 0xe5a6cf4d
mov dword [esp + 0x514], 0x908e629d
mov dword [esp + 0x518], eax
mov dword [esp + 0x51c], ecx
pxor xmm1, xmmword [esp + 0x510]
movaps xmmword [esp + 0x310], xmm1
push ecx
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x2bc]
call fcn.004d589a
add esp, 0xc
test eax, eax
jne 0x487ef4
mov ecx, dword [esp + 0x18]
call 0x4d5af8
cmp eax, 0x64
jne 0x487eeb
mov edi, dword [esp + 0x60]
mov edx, 0xee5bb0c1
mov ecx, 0x3485ac91
mov dword [esp + 0x390], edx
mov eax, 0xffb2cff4
mov dword [esp + 0x394], ecx
mov dword [esp + 0x398], esi
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3a0], edx
mov dword [esp + 0x3a4], ecx
mov dword [esp + 0x3a8], esi
mov dword [esp + 0x3ac], eax
mov dword [esp + 0x3b0], edx
mov dword [esp + 0x3b4], ecx
mov dword [esp + 0x3b8], esi
mov dword [esp + 0x3bc], eax
mov dword [esp + 0x3c0], edx
mov dword [esp + 0x3c4], ecx
mov dword [esp + 0x3c8], esi
mov dword [esp + 0x3cc], eax
mov dword [esp + 0x3d0], edx
mov dword [esp + 0x3d4], ecx
mov dword [esp + 0x3d8], esi
mov dword [esp + 0x3dc], eax
mov dword [esp + 0x3e0], edx
mov dword [esp + 0x3e4], ecx
mov dword [esp + 0x3e8], esi
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], edx
mov dword [esp + 0x3f4], ecx
mov dword [esp + 0x3f8], esi
mov dword [esp + 0x3fc], eax
mov dword [esp + 0x400], edx
mov dword [esp + 0x404], ecx
mov dword [esp + 0x408], esi
mov dword [esp + 0x40c], eax
push 0
lea ecx, [esp + 0xec]
mov byte [esp + 0xe4], 0
call fcn.0040d72a
mov ecx, dword [esp + 0x18]
xor edx, edx
call fcn.004d5806
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
lea edx, [esp + 0x20]
xor eax, eax
mov byte [ecx], al
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.00418207
mov dword [esp + 0x1a0], 0x8f36dfa5
lea eax, [esp + 0x1a0]
mov dword [esp + 0x1a4], 0x3485c2f8
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1ac], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x1a0]
pxor xmm0, xmmword [esp + 0x3a0]
push eax
movaps xmmword [esp + 0x1a4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov dword [esp + 0xd8], esi
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], 0xee5bb0f0
lea edx, [ecx + 1]
mov dword [esp + 0xd4], 0x3485ac91
mov dword [esp + 0xdc], 0xffb2cff4
movaps xmm0, xmmword [esp + 0xd0]
pxor xmm0, xmmword [esp + 0x3a0]
and dword [esp + 0x68], 0
and dword [esp + 0x78], 0
push 0xf
pop esi
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0x7c], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4875e6
sub ecx, edx
lea eax, [esp + 0xd0]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00407850
mov ecx, dword [esp + 0x18]
xor edx, edx
inc edx
call fcn.004d5806
and dword [esp + 0x88], 0
mov edx, eax
and dword [esp + 0x98], 0
mov ecx, edx
mov dword [esp + 0x9c], esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48762b
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.00407850
lea edx, [esp + 0x68]
lea ecx, [esp + 0x88]
call fcn.0040efa8
sub esp, 0x10
mov byte [esp + 0x140], al
mov eax, dword [esp + 0x140]
mov ecx, esp
mov dword [esp + 0x1b0], 0x9e2fc4a9
mov esi, 0xa5620fee
mov dword [esp + 0x1b4], 0x4de9c2de
mov dword [esp + 0x1b8], esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x144]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x1b0]
mov byte [ecx], 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1bc], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x1b0]
pxor xmm0, xmmword [esp + 0x3c0]
push eax
movaps xmmword [esp + 0x1b4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov eax, dword [esp + 0x9c]
cmp eax, 0x10
jb 0x48771b
mov ecx, dword [esp + 0x88]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x487712
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
and dword [esp + 0x98], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
cmp eax, 0x10
jb 0x487775
mov ecx, dword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x48776c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
push 2
pop edx
call fcn.004d5806
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
lea edx, [esp + 0x20]
xor eax, eax
mov byte [ecx], al
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.00418207
mov dword [esp + 0x1c0], 0x862fd1b1
lea eax, [esp + 0x1c0]
mov dword [esp + 0x1c4], 0x3485ac91
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1c8], esi
mov dword [esp + 0x1cc], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x1c0]
pxor xmm0, xmmword [esp + 0x3d0]
push eax
movaps xmmword [esp + 0x1c4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0xee5bb0f0
lea edx, [ecx + 1]
mov dword [esp + 0x24], 0x3485ac91
mov dword [esp + 0x2c], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x20]
pxor xmm0, xmmword [esp + 0x3d0]
and dword [esp + 0x68], 0
and dword [esp + 0x78], 0
push 0xf
pop esi
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x7c], esi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487840
sub ecx, edx
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00407850
mov ecx, dword [esp + 0x18]
push 3
pop edx
call fcn.004d5806
and dword [esp + 0x88], 0
mov edx, eax
and dword [esp + 0x98], 0
mov ecx, edx
mov dword [esp + 0x9c], esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x487882
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x90]
call fcn.00407850
lea edx, [esp + 0x68]
lea ecx, [esp + 0x88]
call fcn.0040efa8
sub esp, 0x10
mov byte [esp + 0x100], al
mov eax, dword [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x1d0], 0x9b38d5b2
mov esi, 0xa5620fee
mov dword [esp + 0x1d4], 0x3485c9e3
mov dword [esp + 0x1d8], esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x104]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x1d0]
mov byte [ecx], 4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1dc], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x1d0]
pxor xmm0, xmmword [esp + 0x3f0]
push eax
movaps xmmword [esp + 0x1d4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov eax, dword [esp + 0x9c]
cmp eax, 0x10
jb 0x487972
mov ecx, dword [esp + 0x88]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x487969
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
and dword [esp + 0x98], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
cmp eax, 0x10
jb 0x4879cc
mov ecx, dword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x4879c3
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
push 4
pop edx
call fcn.004d5806
push eax
call fcn.00443af4
pop ecx
push 0
push 0xf4240
push edx
push eax
call fcn.0045b250
sub eax, 0xb6109100
mov dword [esp + 0x1d0], 0x872bc8a4
mov dword [esp + 0x1d4], 0x5df1cde3
sbb edx, 2
mov dword [esp + 0x1d8], 0xc4266181
sub esp, 0x10
mov dword [esp + 0x1ec], 0xffb2aa80
mov ecx, esp
mov dword [ecx + 8], eax
lea eax, [esp + 0x1e0]
mov byte [ecx], 5
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0xf0]
movaps xmm0, xmmword [esp + 0x1e0]
pxor xmm0, xmmword [esp + 0x400]
push eax
movaps xmmword [esp + 0x1e4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov ecx, dword [esp + 0x18]
push 5
pop edx
call fcn.004d5806
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
lea edx, [esp + 0x20]
xor eax, eax
mov byte [ecx], al
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.00418207
mov dword [esp + 0x1f0], 0x8b36d1af
lea eax, [esp + 0x1f0]
mov dword [esp + 0x1f4], 0x3485ac91
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1fc], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x1f0]
pxor xmm0, xmmword [esp + 0x410]
push eax
movaps xmmword [esp + 0x1f4], xmm0
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov ecx, dword [esp + 0x18]
push 7
pop edx
call 0x4d5bdd
mov ecx, dword [esp + 0x18]
mov esi, eax
push 7
pop edx
call 0x4d5ad8
mov dword [esp + 0x10], eax
test eax, eax
jle 0x487df3
xor eax, eax
mov dword [esp + 0x7c], 0xf
push eax
push 0x4ea79a
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
call fcn.00407850
push dword [esp + 0x10]
and dword [esp + 0x8c], 0
lea ecx, [esp + 0x8c]
and dword [esp + 0x9c], 0
push esi
mov dword [esp + 0xa4], 0xf
call fcn.00407850
cmp byte [esp + 0x1f], 0
je 0x487ca9
mov eax, 0xa5620fee
mov dword [esp + 0x1f0], 0xee6b81b7
mov edx, 0x3485ac91
mov dword [esp + 0x1f8], eax
mov ecx, 0xffb2cff4
mov dword [esp + 0x418], eax
mov dword [esp + 0x1f4], edx
lea eax, [esp + 0x1f0]
mov dword [esp + 0x1fc], ecx
movaps xmm1, xmmword [esp + 0x1f0]
mov dword [esp + 0x414], edx
mov dword [esp + 0x41c], ecx
mov dword [esp + 0x410], 0xee5bb0c1
pxor xmm1, xmmword [esp + 0x410]
push eax
push esi
movaps xmmword [esp + 0x1f8], xmm1
call fcn.00437980
pop ecx
pop ecx
test eax, eax
jne 0x487c60
mov eax, 0xa5620fee
mov dword [esp + 0x200], 0xee6a81b7
mov edx, 0x3485ac91
mov dword [esp + 0x208], eax
mov ecx, 0xffb2cff4
mov dword [esp + 0x428], eax
mov dword [esp + 0x204], edx
lea eax, [esp + 0x200]
mov dword [esp + 0x20c], ecx
movaps xmm1, xmmword [esp + 0x200]
mov dword [esp + 0x424], edx
mov dword [esp + 0x42c], ecx
mov dword [esp + 0x420], 0xee5bb0c1
pxor xmm1, xmmword [esp + 0x420]
push eax
push esi
movaps xmmword [esp + 0x208], xmm1
call fcn.00437980
pop ecx
pop ecx
test eax, eax
je 0x487ca9
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [esp + 0xa0]
push eax
call fcn.0040dfa6
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [esp + 0x148]
push eax
call fcn.0040dfa6
lea ecx, [esp + 0x98]
call fcn.0048dbea
add esp, 0x30
jmp 0x487cb6
push ecx
lea edx, [esp + 0x6c]
mov ecx, esi
call fcn.0048dec8
pop ecx
mov eax, 0xffb2cff4
mov dword [esp + 0x210], 0x9b37d1b7
mov esi, 0xa5620fee
mov dword [esp + 0x21c], eax
sub esp, 0x10
mov dword [esp + 0x224], 0x3485acf4
mov dword [esp + 0x228], esi
mov ecx, esp
movaps xmm1, xmmword [esp + 0x220]
mov dword [esp + 0x44c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x440], 0xee5bb0c1
mov dword [esp + 0x444], 0x3485ac91
mov dword [esp + 0x448], esi
pxor xmm1, xmmword [esp + 0x440]
push eax
movaps xmmword [esp + 0x224], xmm1
call fcn.0040f39b
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0xf4]
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov eax, dword [esp + 0x9c]
cmp eax, 0x10
jb 0x487d90
mov ecx, dword [esp + 0x88]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x487d87
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
and dword [esp + 0x98], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
cmp eax, 0x10
jb 0x487ea1
mov ecx, dword [esp + 0x68]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x487de5
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
jmp 0x487ea1
mov ecx, dword [esp + 0x18]
push 6
pop edx
call fcn.004d5806
sub esp, 0x10
mov dword [esp + 0x20], eax
mov ecx, esp
lea edx, [esp + 0x20]
xor eax, eax
mov byte [ecx], al
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call fcn.00418207
mov eax, 0xffb2cff4
mov dword [esp + 0x230], 0x9b37d1b7
mov esi, 0xa5620fee
mov dword [esp + 0x23c], eax
mov dword [esp + 0x234], 0x3485acf4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x238], esi
movaps xmm1, xmmword [esp + 0x230]
mov dword [esp + 0x45c], eax
lea eax, [esp + 0x230]
mov dword [esp + 0x450], 0xee5bb0c1
mov dword [esp + 0x454], 0x3485ac91
mov dword [esp + 0x458], esi
pxor xmm1, xmmword [esp + 0x450]
push eax
movaps xmmword [esp + 0x234], xmm1
call fcn.0040efd9
mov ecx, eax
call fcn.0040b5bd
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xa0]
add eax, edi
push eax
call fcn.0040b4c5
lea ecx, [esp + 0xe0]
push ecx
mov ecx, eax
call fcn.0040b36f
push dword [esp + 0xe0]
lea ecx, [esp + 0xec]
call fcn.0040d446
mov ecx, dword [esp + 0x18]
call 0x4d5af8
cmp eax, 0x64
je 0x4874f1
push 0x18
pop edi
mov ecx, dword [esp + 0x18]
call fcn.004d5828
mov ecx, dword [esp + 0x64]
call fcn.004945bd
mov dword [esp + 0x230], 0x8534dfa2
lea eax, [esp + 0x230]
mov dword [esp + 0x234], 0x34f6c9f8
lea ecx, [esp + 0xc0]
mov dword [esp + 0x238], 0xa5620fee
mov dword [esp + 0x23c], 0xffb2cff4
movaps xmm0, xmmword [esp + 0x230]
pxor xmm0, xmmword [esp + 0x450]
push eax
movaps xmmword [esp + 0x234], xmm0
call fcn.0040efd9
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call fcn.0040b36f
lea ecx, [esp + 0x328]
call fcn.004077ce
push dword [esp + 0xa0]
lea ecx, [esp + 0xac]
call fcn.0040d446
mov eax, dword [esp + 0x12c]
cmp eax, 0x10
jb 0x487fc9
mov ecx, dword [esp + 0x118]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x487fc0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
and dword [esp + 0x128], 0
lea ecx, [esp + 0x148]
mov dword [esp + 0x12c], 0xf
mov byte [esp + 0x118], 0
call fcn.004077ce
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
sub eax, ecx
cdq
idiv edi
mov esi, dword [esp + 0x60]
mov edx, 0x3485ac91
inc dword [esp + 0x40]
add esi, edi
cmp dword [esp + 0x40], eax
mov eax, 0xffb2cff4
mov dword [esp + 0x60], esi
jb 0x4868ef
mov edx, dword [esp + 0xbc]
xorps xmm0, xmm0
mov al, byte [esp + 0xc0]
mov ecx, dword [esp + 0xcc]
mov byte [esp + 0xc0], 0
mov byte [edx], al
mov eax, dword [esp + 0xc8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x114]
mov dword [edx + 0xc], ecx
movlpd qword [esp + 0xc8], xmm0
cmp eax, 0x10
jb 0x48809c
mov ecx, dword [esp + 0x100]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, 0x1000
jb 0x488093
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0041e009
pop ecx
pop ecx
and dword [esp + 0x110], 0
lea ecx, [esp + 0x568]
mov dword [esp + 0x114], 0xf
mov byte [esp + 0x100], 0
call fcn.004077ce
mov esi, dword [esp + 0x44]
test esi, esi
je 0x48813b
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
cmp esi, eax
je 0x4880f0
mov ecx, esi
call fcn.004077ce
add esi, edi
cmp esi, dword [esp + 0x80]
jne 0x4880da
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
sub eax, esi
mov dword [esp + 0x14], esi
cdq
idiv edi
imul eax, eax, 0x18
mov dword [esp + 0x10], eax
cmp eax, 0x1000
jb 0x488124
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004076c3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.0041e009
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
pop ecx
pop ecx
lea ecx, [esp + 0x520]
call fcn.004077ce
push 0
lea ecx, [esp + 0xcc]
call fcn.0040d446
lea ecx, [ebp + 0x10]
call fcn.004077ce
lea ecx, [ebp + 0x28]
call fcn.004077ce
lea ecx, [ebp + 0x40]
call fcn.004077ce
mov eax, dword [esp + 0xbc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret