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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc4]
cmp eax, dword [ecx + 8]
jbe 0x517989
sub esp, 0x144
mov eax, dword [esp + 0x148]
mov dword [esp], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x150]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x10], ebx
lea ebp, [esp + 0x168]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x170]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x174]
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x178]
mov dword [esp + 0x20], edi
call fcn.00515840
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
cmp edx, eax
jle 0x516e07
cmp ebx, ecx
jle 0x516e07
mov ebp, dword [esp + 0x148]
test ebp, ebp
je 0x516b98
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], edx
mov esi, dword [esp + 0x148]
lea edi, [0x786e54]
cmp esi, edi
jne 0x51663d
mov ebp, dword [esp + 0x180]
test ebp, ebp
jne 0x516204
mov esi, dword [esp + 0x170]
test esi, esi
je 0x515f30
mov edi, dword [esp + 0x170]
lea ebp, [0x7868f0]
cmp edi, ebp
jne 0x515c6e
mov ebp, dword [esp + 0x174]
jmp 0x515c73
mov ebp, 0
jne 0x515f24
mov edi, dword [esp + 0x160]
test edi, edi
je 0x515f24
mov edi, dword [esp + 0x160]
lea esi, [0x786a08]
cmp edi, esi
jne 0x515cf2
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x17c]
mov dword [esp + 0x11c], edi
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x20], eax
call fcn.00518b80
add esp, 0x144
ret
mov dword [esp + 0x130], ebp
lea esi, [0x7869d0]
cmp edi, esi
jne 0x515d8b
mov esi, dword [esp + 0x168]
mov edi, dword [esp + 0x178]
mov dword [esp + 0x11c], edi
mov edi, dword [esp + 0x16c]
mov ebp, dword [esp + 0x17c]
mov dword [esp + 0x118], ebp
mov ebp, dword [esp + 0x14c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x130]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x28], eax
call fcn.00519280
add esp, 0x144
ret
lea esi, [0x786944]
cmp edi, esi
jne 0x515e1d
mov esi, dword [esp + 0x178]
mov dword [esp + 0x11c], esi
mov edi, dword [esp + 0x168]
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x118], esi
mov esi, dword [esp + 0x16c]
mov ebp, dword [esp + 0x14c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x130]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x28], eax
call fcn.00518e40
add esp, 0x144
ret
lea eax, [0x6b69a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x160]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x164]
mov dword [esp + 8], edx
call fcn.00409a40
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x515e55
mov esi, dword [esp + 0x170]
jmp 0x515f24
lea eax, [0x6b69a0]
mov dword [esp], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], eax
call fcn.00409990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x178]
mov dword [esp + 0x11c], ebx
mov ebp, dword [esp + 0x154]
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x118], esi
mov edi, dword [esp + 0x17c]
mov dword [esp + 0x114], edi
mov edi, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov esi, dword [esp + 0x14c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x118]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x2c], eax
call fcn.005198f0
add esp, 0x144
ret
mov ebp, dword [esp + 0x180]
jmp 0x51657c
mov edi, dword [esp + 0x160]
test edi, edi
je 0x51657c
mov edi, dword [esp + 0x160]
lea ebp, [0x786a08]
cmp edi, ebp
jne 0x516047
mov eax, dword [esp + 0x164]
mov ecx, dword [eax]
nop
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xdc], edx
mov ebx, dword [esp + 0x10]
cmp ebx, 0xffff
jne 0x515fe0
mov ebx, dword [esp + 0x150]
mov ebp, dword [esp + 0x154]
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x15c]
mov edx, dword [esp + 0x14c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xffff
call fcn.00517b50
jmp 0x516040
mov dword [esp + 0xe4], ebx
mov ebp, dword [esp + 0x150]
mov esi, dword [esp + 0x154]
mov edi, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov edx, dword [esp + 0x14c]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x20], eax
call fcn.005179a0
add esp, 0x144
ret
lea ebp, [0x7869d0]
cmp edi, ebp
jne 0x516098
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00517d50
add esp, 0x144
ret
lea ebp, [0x78697c]
cmp edi, ebp
jne 0x5160e9
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.005181e0
add esp, 0x144
ret
lea ebp, [0x786a24]
cmp edi, ebp
jne 0x516156
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00514de0
movzx eax, byte [esp + 0x20]
test al, al
jne 0x51614f
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x170]
jmp 0x51657c
add esp, 0x144
ret
lea ebp, [0x786944]
cmp edi, ebp
jne 0x5161a7
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00518770
add esp, 0x144
ret
lea ebp, [0x786928]
cmp edi, ebp
jne 0x5161f8
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00518920
add esp, 0x144
ret
mov ebp, dword [esp + 0x180]
jmp 0x51657c
mov esi, dword [esp + 0x170]
test esi, esi
jne 0x51657c
mov edi, dword [esp + 0x160]
test edi, edi
je 0x51657c
mov edi, dword [esp + 0x160]
lea ebp, [0x786a08]
cmp edi, ebp
jne 0x5162ca
mov eax, dword [esp + 0x164]
mov ecx, dword [eax]
nop
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov dword [esp + 0xd8], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0xe0], edi
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x20], eax
call fcn.00517b50
add esp, 0x144
ret
lea ebp, [0x7869d0]
cmp edi, ebp
jne 0x516415
nop
mov ebp, dword [esp + 0x168]
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 0x16c]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x14c]
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov dword [esp + 0x13c], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x10c], edx
mov edx, dword [edi + 0x14]
sub ecx, edx
mov edx, dword [edi + 0xc]
imul ecx, edx
mov edi, dword [edi + 0x10]
sub eax, edi
lea eax, [ecx + eax*4]
mov edi, dword [esp + 0x164]
mov ecx, edx
mov edx, dword [edi + 0x14]
sub esi, edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x108], edx
imul esi, edx
mov edx, dword [edi + 0x10]
sub ebp, edx
lea edx, [esi + ebp*4]
cmp ebx, eax
jb 0x517981
mov ebp, dword [esp + 0x10c]
sub ebp, eax
sub ebx, eax
mov dword [esp + 0x10c], ebx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x13c]
add ebp, eax
mov eax, esi
mov esi, dword [edi + 4]
mov ebx, dword [edi]
mov edi, dword [edi + 8]
cmp esi, edx
jb 0x517978
mov dword [esp], ebp
mov ebp, dword [esp + 0x10c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x118]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x114]
mov dword [esp + 0x1c], ebp
sub edi, edx
mov ebp, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
add ebx, edi
mov dword [esp + 0x20], ebx
sub esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x108]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], edx
sub ecx, eax
shl ecx, 2
mov dword [esp + 0x38], ecx
call fcn.005180b0
add esp, 0x144
ret
lea ebp, [0x78697c]
cmp edi, ebp
jne 0x516466
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00518500
add esp, 0x144
ret
lea ebp, [0x786a24]
cmp edi, ebp
jne 0x5164d3
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00514de0
movzx eax, byte [esp + 0x20]
test al, al
jne 0x5164cc
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x170]
jmp 0x51657c
add esp, 0x144
ret
lea ebp, [0x786944]
cmp edi, ebp
jne 0x516524
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00518770
add esp, 0x144
ret
lea ebp, [0x786928]
cmp edi, ebp
jne 0x516575
mov ebp, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x14c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00518920
add esp, 0x144
ret
mov ebp, dword [esp + 0x180]
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x11c], ecx
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x154]
mov edi, dword [esp + 0x17c]
mov dword [esp + 0x118], edi
mov ebp, dword [esp + 0x16c]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x15c]
mov esi, dword [esp + 0x14c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x170]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x34], eax
call fcn.00519dd0
add esp, 0x144
ret
lea edi, [0x786e34]
cmp esi, edi
jne 0x516825
mov eax, dword [esp + 0x180]
cmp eax, 1
jne 0x516819
mov ecx, dword [esp + 0x170]
test ecx, ecx
jne 0x516b98
mov edx, dword [esp + 0x160]
lea ebx, [0x786a08]
cmp edx, ebx
jne 0x516684
mov edx, dword [esp + 0x164]
jmp 0x516689
mov edx, 0
jne 0x5166f8
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.0046b000
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x150]
mov ebx, dword [esp + 0x158]
mov ebp, dword [esp + 0x14c]
sub ecx, dword [ebp + 0x14]
imul ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, edx
sub edx, esi
add ecx, edx
sub ebx, edi
mov dword [esp + 0x44], ebx
lea edx, [ecx + ebx]
mov esi, ecx
jmp 0x517861
lea eax, [0x6b43c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00409930
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0x16c]
mov ebp, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
mov edi, dword [esp + 8]
mov dword [esp], edi
mov edi, dword [esp + 0x14c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
call fcn.00515a80
movzx eax, byte [esp + 0x28]
test al, al
je 0x51679c
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x170]
mov ebp, dword [esp + 0x148]
jmp 0x516b98
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
lea edi, [0x786e34]
mov dword [esp], edi
mov edi, dword [esp + 0x14c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x160]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x28], 0
call fcn.0051aba0
add esp, 0x144
ret
mov ecx, dword [esp + 0x170]
jmp 0x516b98
lea edi, [0x786df4]
cmp esi, edi
jne 0x5169e1
mov esi, dword [esp + 0x180]
cmp esi, 1
jne 0x5169d5
mov edi, dword [esp + 0x170]
test edi, edi
jne 0x516b98
mov esi, dword [esp + 0x160]
lea edi, [0x78697c]
cmp esi, edi
jne 0x51686c
mov esi, dword [esp + 0x164]
jmp 0x516871
mov esi, 0
je 0x516886
mov esi, dword [esp + 0x180]
mov edi, dword [esp + 0x170]
jmp 0x516b98
nop
mov ebp, dword [esp + 0x168]
mov dword [esp + 0x6c], ebp
mov edi, dword [esp + 0x16c]
mov ebx, dword [esp + 0x14c]
mov edx, dword [ebx + 4]
mov dword [esp + 0x10c], edx
mov edx, dword [ebx]
mov dword [esp + 0x13c], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x108], edx
mov edx, dword [ebx + 0x14]
sub ecx, edx
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov ebx, dword [ebx + 0x10]
sub eax, ebx
lea eax, [ecx + eax*4]
mov ebx, dword [esi + 0x14]
mov ecx, edi
sub edi, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x104], ebx
imul edi, ebx
mov ebx, dword [esi + 0x10]
sub ebp, ebx
lea ebx, [edi + ebp*4]
mov ebp, dword [esp + 0x10c]
cmp ebp, eax
jb 0x517852
mov edi, dword [esp + 0x108]
sub edi, eax
mov dword [esp + 0x10c], edi
sub ebp, eax
mov dword [esp + 0x108], ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and eax, edi
mov edi, dword [esp + 0x13c]
add edi, eax
mov eax, edx
mov edx, dword [esi + 4]
mov ebp, dword [esi]
mov esi, dword [esi + 8]
cmp edx, ebx
jb 0x517849
mov dword [esp], edi
mov edi, dword [esp + 0x108]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x10c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x110]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x114]
mov dword [esp + 0x1c], eax
sub esi, ebx
mov eax, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
add ebp, esi
mov dword [esp + 0x20], ebp
sub edx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x118]
sub edi, eax
shl edi, 2
mov dword [esp + 0x38], edi
call fcn.005180b0
add esp, 0x144
ret
mov edi, dword [esp + 0x170]
jmp 0x516b98
lea edi, [0x786e14]
cmp esi, edi
jne 0x516b98
mov esi, dword [esp + 0x180]
cmp esi, 1
jne 0x516b91
mov edi, dword [esp + 0x170]
test edi, edi
jne 0x516b98
mov esi, dword [esp + 0x160]
lea edi, [0x786998]
cmp esi, edi
jne 0x516a28
mov esi, dword [esp + 0x164]
jmp 0x516a2d
mov esi, 0
je 0x516a42
mov esi, dword [esp + 0x180]
mov edi, dword [esp + 0x170]
jmp 0x516b98
nop
mov ebp, dword [esp + 0x168]
mov dword [esp + 0x68], ebp
mov edi, dword [esp + 0x16c]
mov ebx, dword [esp + 0x14c]
mov edx, dword [ebx + 4]
mov dword [esp + 0x10c], edx
mov edx, dword [ebx]
mov dword [esp + 0x13c], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x108], edx
mov edx, dword [ebx + 0x14]
sub ecx, edx
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov ebx, dword [ebx + 0x10]
sub eax, ebx
lea eax, [ecx + eax*8]
mov ebx, dword [esi + 0x14]
mov ecx, edi
sub edi, ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x104], ebx
imul edi, ebx
mov ebx, dword [esi + 0x10]
sub ebp, ebx
lea ebx, [edi + ebp*8]
mov ebp, dword [esp + 0x10c]
cmp ebp, eax
jb 0x517842
mov edi, dword [esp + 0x108]
sub edi, eax
mov dword [esp + 0x10c], edi
sub ebp, eax
mov dword [esp + 0x108], ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and eax, edi
mov edi, dword [esp + 0x13c]
add edi, eax
mov eax, edx
mov edx, dword [esi + 4]
mov ebp, dword [esi]
mov esi, dword [esi + 8]
cmp edx, ebx
jb 0x517839
mov dword [esp], edi
mov edi, dword [esp + 0x108]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x10c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x110]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x114]
mov dword [esp + 0x1c], eax
sub esi, ebx
mov eax, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
add ebp, esi
mov dword [esp + 0x20], ebp
sub edx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x118]
sub edi, eax
shl edi, 3
mov dword [esp + 0x38], edi
call fcn.005180b0
add esp, 0x144
ret
mov edi, dword [esp + 0x170]
mov eax, dword [esp + 0x150]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x154]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x15c]
mov dword [esp + 0x48], ebx
lea esi, [0x6b43c0]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00409930
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x16c]
mov ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
mov edi, dword [esp + 8]
mov dword [esp], edi
mov edi, dword [esp + 0x14c]
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.00515a80
movzx eax, byte [esp + 0x28]
test al, al
je 0x516c71
mov ebp, dword [esp + 0x60]
lea eax, [ebp - 1]
mov ebp, dword [esp + 0x64]
lea ecx, [ebp - 1]
mov ebp, dword [esp + 0x48]
lea edx, [ebp - 1]
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp - 1]
mov ebp, 0xffffffff
jmp 0x516c86
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov ebp, 1
mov dword [esp + 0xcc], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
lea esi, [0x6c4b80]
mov dword [esp], esi
mov esi, dword [esp + 0x148]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x14c]
mov dword [esp + 8], edi
call fcn.00409a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x516db9
mov dword [esp + 0x138], ecx
mov dword [esp + 0xd0], eax
lea eax, [0x6b69a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x160]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x164]
mov dword [esp + 8], edx
call fcn.00409a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x516db9
mov dword [esp + 0x128], ecx
mov dword [esp + 0x98], eax
mov edx, dword [esp + 0x170]
test edx, edx
jne 0x516d54
mov ebx, dword [esp + 0x16c]
mov edx, dword [esp + 0x4c]
add ebx, edx
sub ebx, dword [esp + 0x154]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x180]
mov edi, dword [esp + 0x64]
jmp 0x517666
lea eax, [0x6b69a0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x174]
mov dword [esp + 8], eax
call fcn.00409a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x516db9
mov dword [esp + 0xbc], eax
mov dword [esp + 0x12c], ecx
mov ebx, dword [esp + 0x16c]
mov edx, dword [esp + 0x4c]
add ebx, edx
mov ebp, dword [esp + 0x154]
sub ebx, ebp
mov esi, dword [esp + 0x17c]
add esi, edx
sub esi, ebp
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
jmp 0x5172aa
lea eax, [0x6cac80]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x140], eax
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov ebx, dword [esp + 0x154]
sub ecx, ebx
mov ebp, dword [esp + 0x17c]
add ebp, edx
sub ebp, ebx
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0x170]
mov edi, dword [esp + 0x60]
jmp 0x516e38
add esp, 0x144
ret
mov ecx, dword [esp + 0x54]
add ecx, edx
mov ebx, dword [esp + 0x80]
add ebx, edx
mov ebp, dword [esp + 0xac]
add ebp, edx
mov eax, dword [esp + 0x140]
mov edx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0xcc]
mov eax, dword [esp + 0x48]
cmp eax, edx
je 0x516e7c
mov dword [esp + 0x54], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0xac], ebp
mov ebp, dword [esp + 0x168]
mov ecx, dword [esp + 0x64]
add ebp, ecx
mov edx, dword [esp + 0x150]
sub ebp, edx
mov ebx, dword [esp + 0x178]
add ebx, ecx
sub ebx, edx
mov edx, dword [esp + 0xcc]
jmp 0x516e8d
add esp, 0x144
ret
add ecx, edx
add ebp, edx
add ebx, edx
mov eax, dword [esp + 0x48]
cmp edi, ecx
je 0x516e0e
mov dword [esp + 0x74], ecx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xb4], ebx
test esi, esi
jne 0x516ec7
mov dword [esp + 0x120], eax
mov eax, 0xffff
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x120]
jmp 0x516f28
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x174]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x170]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x516fbe
mov eax, dword [esp + 0x180]
test eax, eax
je 0x516e83
movzx eax, word [0x1eaa658]
mov word [esp], ax
call fcn.004096b0
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x14c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x54]
mov dword [esp + 8], esi
lea edi, [0x785e1c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call ecx
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x170]
mov edi, dword [esp + 0x60]
jmp 0x516e83
cmp eax, 0xffff
jne 0x517050
mov esi, dword [esp + 0x180]
cmp esi, 1
jne 0x517050
mov eax, dword [esp + 0x160]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x164]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14c]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x170]
mov edi, dword [esp + 0x60]
jmp 0x516e83
mov eax, dword [esp + 0x160]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x164]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xa4], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x180]
test ebp, ebp
je 0x517106
mov esi, dword [esp + 0xc0]
imul eax, esi
mov edi, eax
mov eax, 0x80008001
mul edi
shr edx, 0xf
mov edi, dword [esp + 0x140]
mov word [edi], dx
imul ecx, esi
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [edi + 2], dx
mov ecx, dword [esp + 0xa4]
imul ecx, esi
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [edi + 4], dx
imul ebx, esi
mov eax, 0x80008001
mul ebx
shr edx, 0xf
mov word [edi + 6], dx
jmp 0x517216
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x14c]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xd4], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xc0]
imul ebp, esi
mov edi, eax
mov eax, 0x80008001
mul ebp
shr edx, 0xf
lea eax, [edx - 0xffff]
neg eax
imul edi, eax
mov edx, dword [esp + 0x9c]
imul edx, esi
add edx, edi
mov edi, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov eax, dword [esp + 0x140]
mov word [eax], dx
imul ecx, edi
mov edx, dword [esp + 0xa0]
imul edx, esi
add ecx, edx
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov eax, dword [esp + 0x140]
mov word [eax + 2], dx
mov ecx, dword [esp + 0xd4]
imul ecx, edi
mov edx, dword [esp + 0xa4]
imul edx, esi
add ecx, edx
mov edx, eax
mov eax, 0x80008001
mov esi, edx
mul ecx
shr edx, 0xf
mov word [esi + 4], dx
imul edi, ebx
lea eax, [edi + ebp]
mov ecx, eax
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [esi + 6], dx
mov edi, esi
mov eax, dword [esp + 0x148]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14c]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 8], ebp
lea esi, [0x785340]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
call ecx
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x170]
mov edi, dword [esp + 0x60]
jmp 0x516e83
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xcc]
add ebx, esi
mov edi, dword [esp + 0x84]
add edi, esi
mov ecx, dword [esp + 0xb0]
add ecx, esi
mov edx, ebx
mov esi, ecx
mov ebx, edi
mov ecx, dword [esp + 0x12c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
je 0x5172e5
mov dword [esp + 0x58], edx
mov dword [esp + 0xb0], esi
mov ebx, dword [esp + 0x168]
add ebx, edi
mov edx, dword [esp + 0x150]
sub ebx, edx
mov esi, dword [esp + 0x178]
add esi, edi
sub esi, edx
mov edx, edi
jmp 0x517324
add esp, 0x144
ret
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xcc]
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x90]
lea ebx, [ecx + edx]
mov ecx, dword [esp + 0xb8]
lea esi, [ecx + edx]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
cmp ebp, edi
je 0x51727a
mov dword [esp + 0x78], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0xb8], esi
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0xb0]
mov dword [esp + 8], ebx
call edx
movzx eax, word [esp + 0x12]
test eax, eax
jne 0x5173ab
mov eax, dword [esp + 0x180]
test eax, eax
je 0x5172ec
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x138]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call ecx
mov eax, dword [esp + 0x180]
jmp 0x5172ec
mov dword [esp + 0x100], eax
cmp eax, 0xffff
jne 0x517423
mov ecx, dword [esp + 0x180]
cmp ecx, 1
jne 0x517423
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x128]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x138]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0x180]
jmp 0x5172ec
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x128]
mov dword [esp], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
call ecx
movzx eax, word [esp + 0x12]
mov dword [esp + 0xfc], eax
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 0xe]
mov dword [esp + 0xf8], edx
movzx ebx, word [esp + 0x10]
mov ebp, dword [esp + 0x180]
test ebp, ebp
jne 0x5175bf
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], ecx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x138]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x24]
mov dword [esp + 0xec], ecx
movzx edx, word [esp + 0xc]
mov dword [esp + 0xe8], edx
movzx ebx, word [esp + 0xe]
movzx ebp, word [esp + 0x10]
movzx esi, word [esp + 0x12]
mov edi, dword [esp + 0x138]
mov dword [esp], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 4], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov edi, dword [esp + 0xfc]
imul edi, eax
mov dword [esp + 0xfc], edi
mov eax, 0x80008001
mul edi
shr edx, 0xf
lea eax, [edx - 0xffff]
neg eax
mov edx, dword [esp + 0xe8]
imul edx, eax
mov ecx, dword [esp + 0x100]
mov edi, dword [esp + 0xf0]
imul edi, ecx
add edx, edi
mov edi, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov word [esp + 0xc], dx
imul ebx, edi
mov eax, dword [esp + 0xf8]
imul eax, ecx
add eax, ebx
mov edx, eax
mov eax, 0x80008001
mul edx
shr edx, 0xf
mov word [esp + 0xe], dx
imul ebp, edi
mov eax, dword [esp + 0xf4]
imul ecx, eax
lea eax, [ebp + ecx]
mov ecx, eax
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [esp + 0x10], dx
imul esi, edi
mov eax, dword [esp + 0xfc]
add eax, esi
mov ecx, eax
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [esp + 0x12], dx
mov eax, dword [esp + 0xec]
call eax
jmp 0x517642
mov ebp, dword [esp + 0xd0]
mov esi, dword [ebp + 0x24]
mov edi, dword [esp + 0x138]
mov dword [esp], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 4], edi
mov ebp, dword [esp + 0x58]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x100]
imul ecx, ebp
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [esp + 0xc], dx
mov ecx, dword [esp + 0xf8]
imul ecx, ebp
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [esp + 0xe], dx
imul ebx, ebp
mov eax, 0x80008001
mul ebx
shr edx, 0xf
mov word [esp + 0x10], dx
mov ecx, dword [esp + 0xfc]
imul ebp, ecx
mov eax, 0x80008001
mul ebp
shr edx, 0xf
mov word [esp + 0x12], dx
call esi
mov eax, dword [esp + 0x180]
jmp 0x5172ec
mov ebx, dword [esp + 0xcc]
add edx, ebx
mov edi, dword [esp + 0x88]
add edi, ebx
mov ebx, edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
je 0x51768b
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x168]
add ebx, edi
sub ebx, dword [esp + 0x150]
jmp 0x5176c7
add esp, 0x144
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0xcc]
lea edi, [ecx + eax]
mov eax, dword [esp + 0x94]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x180]
cmp ebp, edi
je 0x51764e
mov dword [esp + 0x7c], edi
mov dword [esp + 0x94], ebx
cmp esi, 1
jne 0x51771d
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp + 8], ebp
call edx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x138]
mov dword [esp], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
call ecx
jmp 0x517692
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp + 8], ebp
call edx
movzx eax, word [esp + 0x12]
mov word [esp + 0x42], ax
mov ecx, dword [esp + 0xd0]
mov edx, dword [ecx + 0x1c]
movzx ebx, word [esp + 0xc]
mov word [esp + 0x40], bx
movzx ebp, word [esp + 0xe]
mov word [esp + 0x3e], bp
movzx esi, word [esp + 0x10]
mov word [esp + 0x3c], si
mov edi, dword [esp + 0x138]
mov dword [esp], edi
mov esi, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
call edx
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x24]
movzx edx, word [esp + 0xc]
movzx ebx, word [esp + 0xe]
movzx ebp, word [esp + 0x10]
movzx esi, word [esp + 0x12]
mov edi, dword [esp + 0x138]
mov dword [esp], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], edi
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
movzx eax, word [esp + 0x42]
movzx edi, ax
add edi, 0xffff0001
xchg edi, ebx
neg ebx
xchg edi, ebx
imul edx, edi
mov eax, 0x80008001
mul edx
shr edx, 0xf
movzx eax, word [esp + 0x40]
add eax, edx
mov word [esp + 0xc], ax
imul ebx, edi
mov eax, 0x80008001
mul ebx
shr edx, 0xf
movzx eax, word [esp + 0x3e]
add eax, edx
mov word [esp + 0xe], ax
imul ebp, edi
mov eax, 0x80008001
mul ebp
shr edx, 0xf
movzx eax, word [esp + 0x3c]
add eax, edx
mov word [esp + 0x10], ax
imul esi, edi
mov eax, 0x80008001
mul esi
shr edx, 0xf
movzx eax, word [esp + 0x42]
add eax, edx
mov word [esp + 0x12], ax
call ecx
jmp 0x517692
mov eax, ebx
mov ecx, edx
call fcn.00465e60
mov ecx, ebp
call fcn.00465e60
mov eax, ebx
mov ecx, edx
call fcn.00465e60
mov ecx, ebp
call fcn.00465e60
mov byte [ebx + ecx], al
inc ecx
mov ebx, dword [esp + 0x44]
cmp ecx, edx
jge 0x517874
mov edi, dword [ebp + 4]
mov ebx, dword [ebp]
cmp ecx, edi
jb 0x517859
jmp 0x51796f
mov edi, dword [ebp + 8]
mov eax, ebx
mov ebx, dword [ebp]
cmp edi, edx
jb 0x517966
cmp esi, edx
ja 0x51795d
sub edi, esi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, esi
add ebx, edi
mov dword [esp + 0x134], ebx
mov edi, dword [esp + 0x154]
inc edi
jmp 0x5178c6
lea edi, [ecx + 1]
mov ebp, dword [esp + 0x14c]
mov eax, dword [esp + 0xc4]
mov eax, edx
mov edx, dword [esp + 0xc4]
cmp dword [esp + 0x15c], edi
jle 0x517946
mov ecx, edi
mov edi, dword [ebp + 0xc]
add esi, edi
add edi, edx
mov edx, dword [ebp + 8]
mov ebp, dword [ebp]
cmp edx, edi
jb 0x517956
cmp edi, esi
jb 0x51794d
mov dword [esp + 0xc4], edi
sub edi, esi
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add ebp, edx
cmp eax, edi
jge 0x517902
mov edx, eax
jmp 0x517906
mov edx, eax
mov eax, edi
cmp ebp, ebx
je 0x5178ac
mov dword [esp + 0x11c], ecx
mov dword [esp + 0xc8], esi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004666e0
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x134]
mov esi, dword [esp + 0xc8]
jmp 0x5178ac
add esp, 0x144
ret
mov eax, esi
mov ecx, edi
call fcn.00465e60
mov ecx, edi
call fcn.00465e40
mov eax, esi
mov ecx, edx
call fcn.00465e60
mov ecx, edx
mov edx, edi
call fcn.00465e40
mov eax, ecx
mov ecx, edi
call fcn.00465e00
mov eax, edx
mov ecx, esi
call fcn.00465e60
mov ecx, ebx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.00515b40