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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
and esp, 0xfffffff0
sub esp, 0x180
mov eax, dword [eax + 8]
mov edx, dword [ebx + 0x3998]
mov dword [esp + 0x138], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x12c], edx
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x100], edx
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x118], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x11c], edx
mov edx, dword [ebx + 0x34]
mov dword [esp + 0xd8], eax
mov eax, dword [ebx + 0x8ec]
mov dword [esp + 0xe0], edx
mov edx, dword [ebx + 0x8bc]
mov dword [esp + 0x13c], eax
mov eax, dword [ebx + 0x8c0]
mov dword [esp + 0xd4], edx
mov edx, dword [ebx + 0x8b4]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0x8b8]
mov dword [esp + 0xb8], edx
mov edx, dword [ebx + 0x8ac]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x8b0]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov edx, dword [ebx + 0x8a4]
mov eax, dword [ebx + 0x8a8]
mov ecx, dword [ebx + 0x50]
mov dword [esp + 0xb4], edx
mov edx, dword [ebx + 0x8cc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x8d0]
mov dword [esp + 0xf4], edx
mov edx, dword [ebx + 0x8c4]
mov dword [esp + 0xdc], eax
mov eax, dword [ebx + 0x8c8]
mov dword [esp + 0xb0], edx
mov edx, dword [ebx + 0x878]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x87c]
mov dword [esp + 0x84], edx
mov edx, dword [ebx + 0x880]
mov dword [esp + 0xe8], eax
mov eax, dword [ebx + 0x884]
mov dword [esp + 0xe4], edx
mov edx, dword [ebx + 0x888]
mov dword [esp + 0x128], eax
mov eax, dword [ebx + 0x88c]
mov dword [esp + 0xc0], edx
mov edx, dword [ebx + 0x8a0]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x144], edx
mov edx, dword [ebp + 0xc]
sar eax, cl
mov dword [esp + 0x10c], eax
lea eax, [ebx + 0x78]
mov dword [esp + 0x124], eax
mov eax, dword [ebx + 0x4a10]
neg edx
sar edx, cl
mov dword [esp + 0x4c], edx
mov dword [esp + 0x168], eax
mov eax, dword [ebx + 0x4a14]
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x16c], eax
mov eax, dword [ebx + 0x4a18]
mov dword [esp + 0x170], eax
mov eax, dword [ebx + 0x4a1c]
mov dword [esp + 0x174], eax
mov eax, dword [ebx + 0x4a20]
mov dword [esp + 0x178], eax
mov eax, dword [ebx + 0x4a24]
mov dword [esp + 0x17c], eax
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esp + 0x148], eax
add eax, 0x103281e0
mov dword [esp + 0x140], eax
movzx eax, byte [eax + 9]
shr al, 3
and eax, 0xf
lea edx, [eax + 8]
and edx, 0xf
cmp dl, 1
setbe dl
cmp al, 0xf
sete al
movzx edx, dl
movzx eax, al
or edx, eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x64], edx
mov edx, dword [ebx + 0x898]
cmp byte [eax + 4], 1
mov dword [esp + 0xfc], edx
mov edx, dword [ebx + 0x89c]
mov dword [esp + 0xf8], edx
mov edx, dword [ebx + 0x890]
mov dword [esp + 0x104], edx
mov edx, dword [ebx + 0x894]
mov dword [esp + 0x108], edx
jbe 0x46a435
mov edx, dword [esp + 0x148]
test byte [edx + 0x103281f0], 0x10
jne 0x46a435
mov eax, dword [edi]
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov eax, dword [esi]
mov dword [esi + 0xc], eax
mov edx, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x5c]
shl eax, cl
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ebp + 0x14]
shl edx, cl
mov dword [esi + 8], edx
test byte [eax], 7
jne 0x469df5
test byte [eax + 4], 7
je 0x46b3b5
test dword [esp + 0x13c], 0x1000
jne 0x46b2fa
mov edx, dword [ebp + 8]
mov eax, 0xffffffff
mov ecx, dword [esp + 0x64]
test edx, edx
mov edx, dword [esp + 0x108]
cmove edx, eax
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x104]
cmove edx, eax
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0xf8]
cmove edx, eax
cmovne eax, dword [esp + 0xfc]
test ecx, ecx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
jne 0x469e6e
mov dword [ebx + 0x4a0c], 0x1032a4e0
mov dword [ebx + 0x4a08], 0x1032a4e0
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x114], eax
cmp eax, edx
jge 0x46ae38
mov eax, 1
mov edx, eax
sub eax, dword [esp + 0xdc]
sub edx, dword [esp + 0xf4]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x90]
add eax, dword [ebp + 0xc]
lea edx, [edx*4 - 4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x84]
shl eax, 3
add edx, eax
add eax, dword [esp + 0x128]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
shl eax, 3
add edx, eax
add eax, dword [esp + 0xe4]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xf4]
add eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xf4]
imul eax, dword [ebp + 0x18]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xdc]
add eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xdc]
imul eax, dword [ebp + 0x18]
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0xc]
neg edx
sub edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x140], edi
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x114]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xcc], 0
sar edx, cl
mov eax, dword [eax]
mov dword [esp + 0xc8], edx
mov edx, dword [ebp + 0x10]
mov edi, dword [edi]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [edx + 4]
mov dword [esp + 0x7c], edi
mov edi, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp + 0x14]
mov edi, dword [edi + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x128]
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edi
test eax, eax
mov dword [esp + 0x44], edx
je 0x469ff5
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 0x114]
imul edx, dword [edi + 0xc]
mov edi, dword [ebp + 0x10]
mov edi, dword [edi + 0xc]
add edx, edi
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x114]
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
cmp dword [edi + edx*4], eax
cmovge eax, dword [edi + edx*4]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0xf0], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x88]
sub eax, 1
or eax, edx
lea edx, [eax*4]
cmp dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
cmovg eax, edx
mov edx, dword [esp + 0xc8]
cmp dword [edi + edx*4], ecx
cmovge ecx, dword [edi + edx*4]
mov edi, dword [esp + 0xf0]
add edi, dword [esp + 0xf4]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0xd0]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0xd4]
cmp dword [edi + eax], ecx
mov eax, dword [edi + eax]
mov edi, dword [esp + 0xec]
cmovl eax, ecx
mov ecx, dword [esp + 0xf0]
add eax, dword [esp + 0xf4]
cmp eax, edx
cmovg eax, edx
sub ecx, 1
add edi, dword [esp + 0xdc]
mov dword [esp + 0x14c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x104]
cmp dword [esp + 0xf0], edi
cmovle ecx, edi
mov edi, dword [esp + 0x108]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0xec]
sub ecx, 1
cmp dword [esp + 0xec], edi
cmovle ecx, edi
mov dword [esp + 0x108], ecx
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x14c], edi
jg 0x46b030
cmp dword [esp + 0xa0], eax
cmovle eax, dword [esp + 0xa0]
mov ecx, dword [ebx + 0x50]
sub eax, 1
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x40]
sar eax, cl
neg eax
cmp dword [esp + 0x120], eax
jge 0x46b030
mov eax, dword [esp + 0x94]
cmp dword [esp + 0x94], edx
mov dword [esp + 0x80], 1
cmovg eax, edx
sub eax, 1
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x13c]
cmp dword [esp + 0x104], eax
jge 0x46a4d0
mov edi, dword [esp + 0x104]
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0x84]
sub eax, edi
shl eax, 2
add edx, eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], edx
jmp 0x46a2f1
mov ecx, dword [esp + 0x124]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp], eax
mov dword [esp + 8], ecx
call edx
mov eax, dword [esp + 0x144]
mov edx, dword [ebx + 0x4a3c]
test edx, edx
je 0x46a3ec
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x12c]
mov dword [esp], ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x148]
mov dword [esp + 4], ecx
call edx
mov eax, dword [esp + 0x14c]
test eax, eax
je 0x46a23c
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x148]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [esp + 0x14c]
mov ecx, dword [esp + 0x128]
test ecx, ecx
je 0x46a2e4
mov eax, dword [esp + 0x128]
add eax, dword [esp + 0x130]
mov edx, dword [ebx + 0x4a2c]
mov eax, dword [eax + edi*4]
test edx, edx
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x164]
je 0x46a2a1
mov ecx, dword [esp + 0x124]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp], eax
mov dword [esp + 8], ecx
call edx
mov eax, dword [esp + 0x144]
mov edx, dword [ebx + 0x4a3c]
test edx, edx
je 0x46a450
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x12c]
mov dword [esp], ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 4], ecx
call edx
cmp edi, dword [esp + 0x13c]
je 0x46a4a1
add edi, 1
mov eax, dword [esi]
mov ecx, dword [esp + 0x140]
mov edx, edi
sub edx, dword [ebp + 8]
imul eax, edx
add eax, dword [ecx]
mov ecx, dword [esi + 4]
mov dword [esp + 0x158], eax
imul ecx, edx
mov dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x140]
mov ecx, dword [ecx + 4]
add dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x15c], ecx
mov ecx, dword [esi + 8]
imul ecx, edx
imul edx, dword [esi + 0xc]
mov dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x140]
mov ecx, dword [ecx + 8]
add dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x140]
add edx, dword [ecx + 0xc]
mov ecx, dword [ebx + 0x4a4c]
mov dword [esp + 0x164], edx
mov edx, dword [esp + 0x134]
mov dword [esp + 0x14c], ecx
mov edx, dword [edx + edi*4]
mov dword [esp + 0x148], edx
mov edx, dword [ebx + 0x4a28]
test edx, edx
jne 0x46a1a5
mov edx, dword [ebx + 0x4a34]
test edx, edx
je 0x46a1d2
mov eax, dword [esp + 0x138]
mov dword [esp + 8], eax
lea eax, [esp + 0x158]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x144]
mov dword [esp], eax
call edx
mov edx, dword [ebx + 0x4a3c]
mov eax, dword [esp + 0x144]
test edx, edx
jne 0x46a1e0
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x148]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 8], edx
call dword [ebx + 0x4a44]
jmp 0x46a215
cmp ecx, 0xb
je 0x469dbb
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
jmp 0x469dd3
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 8], edx
call dword [ebx + 0x4a44]
cmp edi, dword [esp + 0x13c]
jne 0x46a2f1
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xfc]
not eax
add eax, edi
mov edi, dword [esp + 0x104]
lea edx, [edx + eax + 1]
mov dword [esp + 0xfc], edx
lea edi, [edi + eax + 1]
mov dword [esp + 0x104], edi
mov edi, dword [esp + 0x120]
cmp dword [esp + 0x108], edi
jge 0x46a7d9
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x14c], edx
sub eax, edx
shl eax, 2
mov dword [esp + 0x110], eax
jmp 0x46a5ff
mov edx, dword [ebx + 0x48]
mov edi, dword [esp + 0x144]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xc], ecx
add edx, 7
and edx, 0xfffffff8
imul edx, dword [esp + 0x118]
mov dword [esp], eax
sar edx, 3
add edx, 0xf
and edx, 0xfffffff0
add edi, edx
mov edx, dword [esp + 0x124]
mov dword [esp + 4], edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 0x10], edx
call dword [esp + 0x13c]
mov eax, dword [esp + 0x144]
mov edx, dword [ebx + 0x4a40]
test edx, edx
je 0x46a72a
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x134]
mov dword [esp], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x130]
mov dword [esp + 4], ecx
call edx
mov eax, dword [ebx + 0x4a50]
test eax, eax
je 0x46a5eb
mov edi, dword [esp + 0x100]
mov edx, dword [esp + 0x134]
mov ecx, dword [esp + 0x130]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], ecx
call eax
mov edi, dword [esp + 0x120]
cmp dword [esp + 0x14c], edi
je 0x46a7a5
add dword [esp + 0x14c], 1
mov edx, dword [esp + 0x14c]
mov eax, dword [esi]
sub edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x140]
mov edi, dword [esp + 0x140]
imul eax, edx
add eax, dword [ecx]
mov dword [esp + 0x158], eax
mov eax, dword [esi + 4]
imul eax, edx
add eax, dword [ecx + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x15c], eax
imul ecx, edx
imul edx, dword [esi + 0xc]
add edx, dword [edi + 0xc]
add ecx, dword [edi + 8]
mov dword [esp + 0x164], edx
mov edx, dword [ebx + 0x4a54]
mov dword [esp + 0x160], ecx
test edx, edx
je 0x46a5eb
mov edx, dword [esp + 0xe4]
mov edi, dword [esp + 0x14c]
add edx, dword [esp + 0x110]
mov edi, dword [edx + edi*4]
mov edx, dword [esp + 0xe8]
add edx, dword [esp + 0x110]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0x14c]
mov edi, dword [edx + edi*4]
mov edx, dword [ebx + 0x4a30]
mov dword [esp + 0x130], edi
test edx, edx
mov dword [esp + 0x13c], edx
jne 0x46a510
mov edx, dword [ebx + 0x4a38]
mov edi, ecx
test edx, edx
je 0x46a56d
mov eax, dword [ebx + 0x48]
mov edi, dword [esp + 0x144]
add eax, 7
and eax, 0xfffffff8
imul eax, dword [esp + 0x118]
sar eax, 3
add eax, 0xf
and eax, 0xfffffff0
add edi, eax
mov eax, dword [esp + 0x118]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x144]
mov dword [esp], eax
call edx
mov edx, dword [ebx + 0x4a40]
mov eax, dword [esp + 0x144]
test edx, edx
jne 0x46a57b
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x100]
mov dword [esp], ebx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 4], edx
call dword [ebx + 0x4a48]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x134]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 4], ecx
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], edx
call dword [ebx + 0x4a48]
jmp 0x46a5bf
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x108]
mov edi, dword [esp + 0xf8]
not eax
add eax, dword [esp + 0x14c]
lea edx, [edx + eax + 1]
lea edi, [edi + eax + 1]
mov dword [esp + 0x108], edx
mov dword [esp + 0xf8], edi
mov edx, dword [esp + 0xfc]
mov eax, dword [esp + 0xfc]
sub eax, dword [esp + 0xc0]
cmp dword [esp + 0xc0], edx
mov edi, dword [esp + 0xf8]
cmovg eax, edx
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xf8]
sub eax, dword [esp + 0xbc]
cmp dword [esp + 0xbc], edi
cmovg eax, edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0xf8], eax
test edi, edi
je 0x46ae2e
mov edx, dword [esp + 0x108]
mov edi, dword [esp + 0x104]
mov dword [esp], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xfc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x114]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
call fcn.00512f30
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x46a8a9
mov eax, dword [esp + 0xc8]
and eax, 7
lea eax, [eax*8 + 0x1032a4e8]
mov dword [ebx + 0x4a08], eax
mov eax, dword [esp + 0x114]
and eax, 7
lea eax, [eax*8 + 0x1032a4e8]
mov dword [ebx + 0x4a0c], eax
mov eax, dword [esp + 0x90]
sub eax, 2
cmp eax, dword [esp + 0x114]
jle 0x46b133
mov eax, dword [esp + 0xf0]
add eax, dword [esp + 0xc0]
mov edi, dword [esp + 0x84]
sub eax, dword [esp + 0x104]
add eax, dword [esp + 0xfc]
mov dword [esp + 0x13c], 0
lea edx, [eax*4]
mov eax, dword [esp + 0xec]
add edi, edx
add eax, dword [esp + 0xbc]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0xe8]
sub eax, dword [esp + 0x108]
add eax, dword [esp + 0xf8]
add edx, dword [esp + 0x128]
shl eax, 2
add edi, eax
mov dword [esp + 0x130], edi
mov edi, dword [esp + 0x128]
add eax, dword [esp + 0xe4]
test edi, edi
cmove edx, dword [esp + 0x13c]
mov dword [esp + 0x120], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xf0]
test edx, edx
js 0x46a975
cmp dword [esp + 0x94], eax
jle 0x46ab3e
mov edx, dword [esp + 0xf0]
sub eax, dword [esp + 0xf0]
neg edx
cmp eax, dword [esp + 0xf4]
cmovg eax, dword [esp + 0xf4]
mov dword [esp + 0x14c], eax
xor eax, eax
test edx, edx
jle 0x46a9d5
mov eax, dword [esp + 0x134]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x148], ebx
lea ecx, [eax + edx*4]
xor eax, eax
nop
lea esi, [esi]
mov ebx, dword [ecx]
mov dword [edi + eax*4], ebx
add eax, 1
cmp eax, edx
jne 0x46a9c0
mov ebx, dword [esp + 0x148]
mov eax, edx
cmp dword [esp + 0x14c], eax
jle 0x46aa23
mov ecx, dword [esp + 0x134]
mov edi, dword [esp + 0x14c]
mov dword [esp + 0x134], ebx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x148], edx
mov edx, dword [ecx + eax*4]
mov dword [ebx + eax*4], edx
add eax, 1
cmp eax, edi
jne 0x46aa01
mov edx, dword [esp + 0x148]
mov ebx, dword [esp + 0x134]
mov eax, dword [esp + 0x14c]
cmp dword [esp + 0xf4], eax
jle 0x46aa5a
mov edi, edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x148], ebx
mov ebx, dword [esp + 0xf4]
mov ecx, dword [edx + eax*4 - 4]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, ebx
jne 0x46aa43
mov ebx, dword [esp + 0x148]
mov edx, edi
mov ecx, dword [esp + 0x13c]
mov edi, dword [esp + 0xc4]
test ecx, ecx
mov dword [esp + 0x134], edi
je 0x46ab3e
xor eax, eax
test edx, edx
jle 0x46aaaa
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x148], ebx
lea ecx, [eax + edx*4]
xor eax, eax
mov ebx, dword [ecx]
mov dword [edi + eax*4], ebx
add eax, 1
cmp eax, edx
jne 0x46aa97
mov ebx, dword [esp + 0x148]
cmp dword [esp + 0x14c], eax
jle 0x46aae4
mov dword [esp + 0x148], ebx
mov ecx, dword [esp + 0x13c]
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14c]
nop
mov edx, dword [ecx + eax*4]
mov dword [edi + eax*4], edx
add eax, 1
cmp eax, ebx
jne 0x46aad0
mov ebx, dword [esp + 0x148]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0xc4]
cmp dword [esp + 0xf4], eax
mov dword [esp + 0x13c], edx
mov dword [esp + 0x134], edi
jle 0x46ab3e
mov edi, ebx
mov ebx, dword [esp + 0xf4]
mov ecx, dword [edx + eax*4 - 4]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, ebx
jne 0x46ab12
mov eax, dword [esp + 0x9c]
mov ebx, edi
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x134], edx
mov edx, dword [esp + 0xec]
mov eax, dword [ebx + 0x18]
test edx, edx
js 0x46ab59
cmp dword [esp + 0xa0], eax
jle 0x46acb8
mov edi, dword [esp + 0xec]
sub eax, dword [esp + 0xec]
neg edi
cmp eax, dword [esp + 0xdc]
cmovg eax, dword [esp + 0xdc]
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], eax
xor eax, eax
test edi, edi
jle 0x46abe4
mov ecx, dword [esp + 0x130]
mov edx, edi
shl edx, 2
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xf0], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x110], ebx
add ecx, edx
add edx, dword [esp + 0x120]
lea esi, [esi]
mov ebx, dword [ecx]
mov dword [esi + eax*4], ebx
mov ebx, dword [edx]
mov dword [edi + eax*4], ebx
add eax, 1
cmp eax, dword [esp + 0x14c]
jne 0x46abc0
mov ebx, dword [esp + 0x110]
mov esi, dword [esp + 0xf0]
cmp dword [esp + 0x148], eax
jle 0x46ac3d
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x14c], ebx
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x130], esi
mov ebx, dword [esp + 0x120]
mov esi, dword [esp + 0xa8]
mov edx, dword [ecx + eax*4]
mov dword [esi + eax*4], edx
mov edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
add eax, 1
cmp eax, dword [esp + 0x148]
jne 0x46ac17
mov ebx, dword [esp + 0x14c]
mov esi, dword [esp + 0x130]
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
cmp dword [esp + 0xdc], eax
mov dword [esp + 0x120], edx
mov dword [esp + 0x130], edi
jle 0x46acb8
mov edi, dword [esp + 0xdc]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x14c], ebx
nop
mov ebx, dword [edx + eax*4 - 4]
mov dword [edx + eax*4], ebx
mov ebx, dword [ecx + eax*4 - 4]
mov dword [ecx + eax*4], ebx
add eax, 1
cmp eax, edi
jne 0x46ac80
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x120], eax
mov dword [esp + 0x130], edx
mov eax, dword [esp + 0x78]
imul eax, dword [esp + 0x114]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0xe0]
add edx, eax
lea eax, [edi + edi*4]
lea ecx, [eax*4]
movzx eax, byte [eax*4 + 0x103281f0]
test al, 0x10
je 0x46af34
test al, 0x20
jne 0x46af34
cmp byte [ecx + 0x103281e4], 1
jbe 0x46af34
mov ecx, dword [ebx + 0x58]
mov eax, 1
shl eax, cl
cmp dword [esp + 0xf4], 1
lea edi, [eax - 1]
je 0x46b182
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0x4a0c]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call dword [esp + 0x16c]
test dword [esp + 0x114], edi
jne 0x46ad98
cmp dword [esp + 0xe0], 0x42
je 0x46ad98
cmp dword [esp + 0xe0], 8
je 0x46ad98
cmp dword [esp + 0xe0], 0x20
je 0x46ad98
cmp dword [esp + 0xe0], 0x1f
jne 0x46aebf
mov eax, dword [esp + 0x128]
test eax, eax
je 0x46ae00
cmp dword [esp + 0xf4], 1
je 0x46b1c0
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0x4a0c]
mov edi, dword [esp + 0x12c]
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xf4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [esp + 0x16c]
add dword [esp + 0x114], 1
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [ebp + 0x1c]
add dword [esp + 0xac], edi
add dword [esp + 0x98], eax
cmp dword [esp + 0x114], edx
jne 0x469f75
mov ecx, dword [esp + 0x114]
sub ecx, dword [ebp + 0x18]
mov edi, dword [esp + 0xe0]
lea eax, [edi + edi*4]
shl eax, 2
movzx edx, byte [eax + 0x103281e4]
cmp dl, 1
jbe 0x46ae5e
test byte [eax + 0x103281f0], 0x10
jne 0x46b32e
mov dword [esp + 0x34], ecx
call fcn.0046ba10
mov ecx, dword [esp + 0x34]
test al, 2
je 0x46ae72
sfence
emms
mov edi, dword [esp + 0x114]
mov eax, ecx
mov edx, dword [esp + 0xfc]
mov dword [ebx + 0x8e8], edi
mov edi, dword [esp + 0xf8]
mov dword [ebx + 0x898], edx
mov edx, dword [esp + 0x104]
mov dword [ebx + 0x89c], edi
mov edi, dword [esp + 0x108]
mov dword [ebx + 0x890], edx
mov dword [ebx + 0x894], edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x58]
imul eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x170]
add ecx, eax
test edx, edx
je 0x46b3ce
mov eax, dword [esp + 0x120]
mov edi, dword [esp + 0x100]
mov dword [esp + 0x14], ecx
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x130]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x3c]
imul eax, dword [esp + 0xdc]
lea eax, [edi + eax*2]
mov dword [esp + 4], eax
call edx
jmp 0x46ad98
cmp dword [esp + 0xe0], 0x42
je 0x46b063
cmp dword [esp + 0xe0], 8
je 0x46b063
cmp dword [esp + 0xe0], 0x20
je 0x46b063
cmp dword [esp + 0xe0], 0x1f
je 0x46b063
lea esi, [esi]
cmp dword [esp + 0xf4], 1
jne 0x46b090
mov eax, dword [ebx + 0x4a1c]
test eax, eax
je 0x46b090
cmp dword [esp + 0xdc], 2
jg 0x46b090
xor ecx, ecx
cmp dword [esp + 0xdc], 1
je 0x46afb6
mov edi, dword [esp + 0x114]
mov eax, dword [esp + 0x3c]
movsx ecx, word [eax + edi*4 + 2]
mov edi, dword [esp + 0x174]
xor eax, eax
mov dword [esp + 0x14c], edi
mov edi, dword [esp + 0x128]
test edi, edi
je 0x46afda
mov edi, dword [esp + 0x13c]
mov eax, dword [edi]
mov edi, dword [esp + 0x114]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x134]
mov eax, dword [edi]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [esp + 0x14c]
jmp 0x46ae00
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], 0
sub eax, 1
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x10c]
sub eax, dword [esp + 0x4c]
sub eax, 1
mov dword [esp + 0x120], eax
jmp 0x46a162
mov edi, dword [esp + 0xe0]
lea eax, [edi + edi*4]
movzx eax, byte [eax*4 + 0x103281e4]
cmp al, 4
je 0x46af70
cmp al, 2
je 0x46af70
jmp 0x46ad00
cmp dword [esp + 0xf4], 2
jne 0x46b0b2
mov eax, dword [ebx + 0x4a20]
test eax, eax
je 0x46b0b2
cmp dword [esp + 0xdc], 2
je 0x46b200
mov edi, dword [esp + 0x114]
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xdc]
mov dword [esp], ebx
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xf4]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
call dword [esp + 0x17c]
jmp 0x46ae00
lea eax, [esp + 0x17c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x178]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x174]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x170]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x16c]
mov dword [esp + 8], eax
lea eax, [esp + 0x168]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004778c0
jmp 0x46a8c0
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0x4a0c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x134]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp], eax
call dword [esp + 0x168]
jmp 0x46ad63
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0x4a0c]
mov edi, dword [esp + 0x12c]
mov edx, dword [esp + 0x13c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp], eax
call dword [esp + 0x168]
jmp 0x46ae00
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x114]
mov ecx, dword [esp + 0x38]
movsx edi, word [eax + edi*4 + 2]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14c], edi
mov edi, dword [esp + 0x114]
movsx edi, word [eax + edi*4 + 2]
mov dword [esp + 0x148], edi
mov edi, dword [esp + 0x114]
movsx eax, word [ecx + edi*4]
mov ecx, dword [esp + 0x3c]
mov edi, eax
shl edi, 0x10
add eax, edi
mov edi, dword [esp + 0xc8]
mov dword [ebx + 0x19a4], eax
mov dword [ebx + 0x19a0], eax
movsx eax, word [ecx + edi*4]
mov ecx, dword [esp + 0x14c]
mov edi, eax
shl edi, 0x10
add eax, edi
mov edi, dword [esp + 0x114]
mov dword [ebx + 0x29a4], eax
mov dword [ebx + 0x29a0], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0x1c], ecx
test eax, eax
mov eax, 0
cmovne eax, dword [esp + 0x13c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
mov dword [esp], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call dword [esp + 0x178]
jmp 0x46ae00
mov eax, dword [0x104b86c0]
test eax, eax
jne 0x469e06
mov dword [esp + 8], 0x1032a480
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call 0x3c2cf0
mov dword [0x104b86c0], 1
jmp 0x469e06
cmp dl, 4
je 0x46b33c
cmp dl, 2
jne 0x46ae5e
mov eax, dword [esp + 0x128]
test eax, eax
jne 0x46ae5e
mov eax, dword [ebp + 0x14]
test ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov esi, dword [edx + 0xc]
mov dword [esp + 0x14c], eax
jle 0x46ae5e
mov eax, dword [ebp + 0x18]
xor edi, edi
imul eax, dword [esp + 0x14c]
mov dword [esp + 0x144], ebx
mov ebx, ecx
add esi, eax
mov edx, dword [esp + 0x12c]
add edi, 1
mov dword [esp], esi
mov dword [esp + 4], 0xff
mov dword [esp + 8], edx
call 0x5a1160
add esi, dword [esp + 0x14c]
cmp edi, ebx
jne 0x46b37e
mov ecx, ebx
mov ebx, dword [esp + 0x144]
jmp 0x46ae5e
test byte [eax + 8], 7
jne 0x469df5
test byte [eax + 0xc], 7
je 0x469e06
jmp 0x469df5
mov eax, dword [esp + 0x44]
imul eax, dword [esp + 0xc8]
mov edi, dword [esp + 0x48]
add edi, eax
cmp dword [esp + 0xdc], 1
je 0x46b493
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x3c]
imul eax, dword [esp + 0xdc]
mov dword [esp + 0x18], 0
lea eax, [edx + eax*2]
mov edx, dword [ebx + 0x4a08]
mov dword [esp], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x130]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 4], edx
call dword [esp + 0x16c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 3
mov edx, dword [ebx + 0x4a08]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x120]
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 8], edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 4], edx
call dword [esp + 0x16c]
jmp 0x46ad98
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0x4a08]
mov edx, dword [esp + 0x130]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp], eax
call dword [esp + 0x168]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x10], 3
mov eax, dword [ebx + 0x4a08]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp], eax
call dword [esp + 0x168]
jmp 0x46ad98