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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xe8]
cmp eax, dword [ecx + 8]
jbe 0x517a18
sub esp, 0x168
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov ecx, dword [esp + 0x174]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x178]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00514c80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x517813
test edx, edx
je 0x515cfd
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0x128], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x124], ecx
lea edx, [0x742de0]
mov dword [esp], edx
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768108]
mov dword [eax], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x515ce5
mov ecx, dword [esp + 0x128]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x16c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x515ca2
mov dword [esp], ecx
call fcn.005146b0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x168
ret
mov dword [esp], ecx
lea edx, [0x7ec544]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x515cdb
mov dword [edx + 0x50], eax
mov ecx, edx
jmp 0x515c7d
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x515cd7
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x128]
call fcn.0045f470
mov eax, ecx
jmp 0x515c63
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa4], eax
nop
mov ecx, dword [esp + 0xa8]
mov edx, ecx
and ecx, 0x1f
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xcc], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x128], ebp
cmp ecx, 0x14
je 0x5177c0
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5176de
cmp ecx, 0x15
je 0x5174df
cmp ecx, 0x19
jne 0x517402
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00521b40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf0], edx
mov ebx, dword [esp + 0x16c]
test byte [ebx], al
lea esi, [ebx + 0x38]
lea edi, [esp + 0x154]
call fcn.0045fbfe
xor ecx, ecx
xor ebp, ebp
xor esi, esi
jmp 0x515ddc
mov ebx, ebp
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xbc], ebp
mov dword [esp], ebx
mov dword [esp + 4], 9
call fcn.005147d0
mov eax, dword [esp + 0x16c]
mov ecx, dword [eax + 0x10]
cmp ecx, 5
je 0x5160c8
cmp ecx, 1
jne 0x5179d3
nop
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x9c], ecx
mov dword [esp], eax
call fcn.00514890
mov eax, dword [esp + 0x16c]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
lea ebp, [ebx - 1]
cmp ebp, edx
ja 0x5179cc
mov esi, dword [esp + 0x9c]
lea edi, [esi - 1]
cmp edi, ebp
ja 0x5179c3
sub edx, esi
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov edx, eax
neg eax
sar eax, 0x1f
and edi, eax
lea eax, [ecx + edi]
mov dword [esp + 0xec], eax
mov dword [esp], eax
sub ebx, esi
mov dword [esp + 0x64], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0051aa40
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test al, al
je 0x5179ab
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x124], ecx
mov eax, dword [esp + 0xa0]
cmp eax, 0x15
jne 0x516d50
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xcc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x44]
test edx, edx
je 0x516d17
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f6f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xbc]
mov dword [esp], ebx
mov ebp, dword [esp + 0xc4]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f5050
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
xor ebx, ebx
mov ebp, eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], esi
mov byte [esp + 0x2d], bl
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x16c]
cmp dword [eax + 0x10], 9
je 0x516cd6
cmp dword [eax + 0x10], 3
jne 0x517987
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.005147d0
movzx eax, byte [esp + 0x2d]
test al, al
je 0x516c75
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
call fcn.00514bc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x516bf1
cmp dword [eax + 8], 0xe0ff5cb4
jne 0x516af1
lea eax, [0x718aa0]
cmp eax, ecx
jne 0x516af1
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00449500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x16c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 1
call fcn.00517c00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x516adc
mov ebx, dword [esp + 0xa0]
cmp ebx, 0x15
je 0x516112
mov ebp, dword [esp + 0x16c]
cmp dword [ebp + 0x10], 9
je 0x5160ef
mov edx, dword [ebp + 0x48]
mov ecx, dword [esp + 0x160]
cmp edx, ecx
jb 0x5178c6
mov dword [ebp + 0x44], ecx
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x154]
mov dword [ebp + 0x38], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5160e5
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x10]
cmp eax, 5
je 0x5160c8
cmp eax, 4
je 0x515dc8
jmp 0x5178ae
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x168
ret
lea edi, [ebp + 0x3c]
call fcn.0045f470
jmp 0x5160b2
mov dword [esp], ebp
mov dword [esp + 4], 9
call fcn.005147d0
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x16c]
jmp 0x51607f
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0xcc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x7f1d98]
cmp ebp, edx
jne 0x51796b
mov dword [esp + 0x98], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x118], edx
mov dword [esp], ebx
call fcn.004ec690
mov eax, dword [0x9d30f0]
mov ecx, dword [0x9d30f4]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ec9b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x516a0b
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x18
jne 0x5162f1
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.00409530
mov eax, dword [esp + 0xc]
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x5162e6
lea ecx, [0x709c00]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5162d6
mov dword [0x9d3920], eax
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
mov edx, dword [esp + 0x144]
test edx, edx
je 0x5162cb
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x516238
or ebx, 0x80
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
call fcn.004f7370
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x51627a
mov ebx, dword [esp + 0xa0]
jmp 0x516072
mov ebx, dword [esp + 0x11c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x120]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xa8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
call fcn.004f5900
jmp 0x51626e
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x516238
lea edi, [0x9d3920]
call fcn.0045f470
jmp 0x516204
lea ecx, [0x709c00]
jmp 0x516204
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x50]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 2]
cmp ecx, 4
jbe 0x516672
add eax, 0xfffffff9
cmp eax, 5
ja 0x517953
mov dword [esp], 0
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004493b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004dd3d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x516583
mov eax, 1
test al, al
je 0x5164b6
lea eax, [0x742de0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [esp + 0x114], eax
mov dword [esp], 0
lea ecx, [0x768567]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x114]
mov dword [edi + 4], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5164ac
mov dword [edi], eax
mov ebx, dword [esp + 0x118]
mov dword [edi + 8], ebx
mov ebx, dword [0x9f0ee0]
test ebx, ebx
jne 0x516490
mov ebx, dword [esp + 0xd0]
mov dword [edi + 0xc], ebx
mov ebx, dword [esp + 0x9c]
mov dword [edi + 0x10], ebx
sar ebx, 0x1f
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x16c]
mov ebp, dword [ebx + 0x4c]
test ebp, ebp
je 0x51644d
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebp, edx
mov edx, eax
mov eax, ecx
mov ecx, ebp
jmp 0x51626a
mov dword [esp], ebx
lea eax, [0x7ec544]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x516486
mov dword [edx + 0x50], eax
mov ebx, edx
jmp 0x51643a
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x516482
lea ebx, [edi + 0xc]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0xd0]
call fcn.0045f470
mov edi, ecx
jmp 0x51641c
call fcn.0045f470
jmp 0x5163fe
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00409400
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x516578
lea ecx, [0x718d20]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x516568
mov dword [0x9d3920], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], eax
mov edx, dword [esp + 0x13c]
test edx, edx
je 0x516560
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x516522
or ebx, 0x80
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
call fcn.004f7370
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x16c]
jmp 0x516440
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x516522
lea edi, [0x9d3920]
call fcn.0045f470
jmp 0x5164f2
lea ecx, [0x718d20]
jmp 0x5164f2
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 4], ecx
call fcn.004f6f10
mov eax, dword [esp + 0x10]
and eax, 0x1f
lea ecx, [eax - 7]
mov edx, dword [esp + 8]
cmp ecx, 5
ja 0x5178cb
mov ebx, dword [edx]
shl ebx, 3
add ebx, 0xffffffc0
neg ebx
mov dword [esp + 0x98], ebx
cmp ebx, 0x20
sbb ebp, ebp
lea ecx, [ebx - 0x20]
cmp ecx, 0x20
sbb esi, esi
mov dword [esp + 0x94], esi
mov edi, ecx
neg ecx
cmp ecx, 0x20
mov eax, ebp
sbb ebp, ebp
mov dword [esp + 0x90], ebp
mov edx, ecx
mov ecx, edi
mov ebx, dword [esp + 0x30]
shl ebx, cl
and ebx, esi
mov ecx, edx
mov esi, dword [esp + 0x30]
shr esi, cl
and esi, ebp
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x3c]
shl ebp, cl
and ebp, eax
or ebp, esi
or ebp, ebx
mov ebx, dword [esp + 0x30]
shl ebx, cl
and ebx, eax
mov ecx, edi
mov edi, ebp
shr ebp, cl
mov esi, dword [esp + 0x94]
and ebp, esi
mov ecx, edx
mov edx, edi
shl edi, cl
mov ecx, dword [esp + 0x98]
shr ebx, cl
mov esi, dword [esp + 0x90]
and edi, esi
and ebx, eax
or ebx, edi
or ebx, ebp
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
setne bl
shr edx, cl
and edx, eax
mov esi, dword [esp + 0x3c]
cmp esi, edx
setne al
or eax, ebx
mov ecx, ebp
mov edx, esi
jmp 0x51638a
mov dword [esp], 0
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004493b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004ddba0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5168ce
mov eax, 1
test al, al
je 0x516801
lea eax, [0x742de0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [esp + 0x114], eax
mov dword [esp], 0
lea ecx, [0x768567]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov edx, dword [esp + 0xe0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x114]
mov dword [edi + 4], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5167f7
mov dword [edi], eax
mov ebx, dword [esp + 0x118]
mov dword [edi + 8], ebx
mov ebx, dword [0x9f0ee0]
test ebx, ebx
jne 0x5167db
mov ebx, dword [esp + 0xd0]
mov dword [edi + 0xc], ebx
mov ebx, dword [esp + 0x9c]
mov dword [edi + 0x10], ebx
sar ebx, 0x1f
mov dword [edi + 0x14], ebx
mov ebx, dword [esp + 0x16c]
mov ebp, dword [ebx + 0x4c]
test ebp, ebp
je 0x516798
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x516440
mov dword [esp], ebx
lea eax, [0x7ec544]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5167d1
mov dword [edx + 0x50], eax
mov ebx, edx
jmp 0x51678d
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x5167cd
lea ebx, [edi + 0xc]
mov eax, edi
mov edi, ebx
mov ecx, eax
mov eax, dword [esp + 0xd0]
call fcn.0045f470
mov edi, ecx
jmp 0x51676f
call fcn.0045f470
jmp 0x516751
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.00409400
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x5168c3
lea ecx, [0x718260]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5168b3
mov dword [0x9d3920], eax
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
mov edx, dword [esp + 0x134]
test edx, edx
je 0x5168ab
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x51686d
or ebx, 0x80
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
call fcn.004f7370
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x16c]
jmp 0x516440
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x51686d
lea edi, [0x9d3920]
call fcn.0045f470
jmp 0x51683d
lea ecx, [0x718260]
jmp 0x51683d
mov dword [esp + 0x94], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 4], ecx
call fcn.004f6f10
mov eax, dword [esp + 0x10]
and eax, 0x1f
lea ecx, [eax - 2]
mov edx, dword [esp + 8]
cmp ecx, 4
ja 0x51790f
mov ebx, dword [edx]
shl ebx, 3
add ebx, 0xffffffc0
neg ebx
lea ecx, [ebx - 0x20]
mov dword [esp + 0x90], ecx
mov ebp, ecx
neg ecx
mov dword [esp + 0x8c], ecx
cmp ecx, 0x20
sbb esi, esi
mov dword [esp + 0x88], esi
cmp ebp, 0x20
sbb edi, edi
cmp ebx, 0x20
mov eax, edi
sbb edi, edi
mov edx, ebx
shr ebx, 5
cmp ebx, 1
sbb ebx, ebx
mov dword [esp + 0x84], ebx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x34]
shr ebx, cl
mov ecx, edx
mov ebp, dword [esp + 0x94]
shl ebp, cl
and ebp, edi
and ebx, esi
or ebp, ebx
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x34]
shl ebx, cl
and ebx, eax
or ebx, ebp
mov ebp, dword [esp + 0x98]
xchg ebp, ebx
not ebx
xchg ebp, ebx
or ebp, edx
mov ecx, ebp
mov ebp, ebx
sar ebx, cl
mov esi, dword [esp + 0x94]
cmp esi, ebx
setne bl
mov byte [esp + 0x2f], bl
mov ecx, edx
mov ebx, dword [esp + 0x34]
shl ebx, cl
and ebx, edi
not eax
mov esi, dword [esp + 0x90]
or eax, esi
mov ecx, eax
mov esi, ebp
sar ebp, cl
mov ecx, dword [esp + 0x8c]
shl esi, cl
mov ecx, edx
shr ebx, cl
and ebx, edi
mov edi, dword [esp + 0x88]
and esi, edi
or ebx, esi
mov esi, dword [esp + 0x84]
xor esi, 0xffffffff
and esi, ebp
or esi, ebx
mov ecx, dword [esp + 0x34]
cmp ecx, esi
setne al
movzx ebx, byte [esp + 0x2f]
or eax, ebx
mov edx, dword [esp + 0x38]
jmp 0x5166dd
mov eax, dword [esp + 0x118]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
call fcn.004f6ff0
mov eax, dword [esp + 8]
mov dword [esp + 0x110], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x16c]
mov dword [esp], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 1
call fcn.00517c00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x516ac7
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.004f2330
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x51626a
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], edx
add esp, 0x168
ret
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], edx
add esp, 0x168
ret
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
test eax, eax
je 0x516b38
mov eax, dword [eax + 4]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
lea eax, [0x7820bc]
mov dword [esp], eax
mov dword [esp + 4], 0x53
lea ecx, [esp + 0x14c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16c]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x516b9c
mov ebx, dword [esp + 0xa0]
cmp ebx, 0x15
jmp 0x51606c
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x516bda
mov dword [edx + 0x50], eax
mov ebx, dword [esp + 0xa0]
cmp ebx, 0x15
jmp 0x51606c
lea edi, [edx + 0x50]
call fcn.0045f470
mov ebx, dword [esp + 0xa0]
cmp ebx, 0x15
jmp 0x51606c
mov eax, dword [0x9cb7a0]
mov ecx, dword [0x9cb7a4]
mov edx, dword [0x9cb7a8]
mov ebx, dword [esp + 0x16c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 0
call fcn.00517c00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x516c60
mov ebx, dword [esp + 0xa0]
cmp ebx, 0x15
jmp 0x51606c
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], edx
add esp, 0x168
ret
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xd8]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
call fcn.005149f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x516cc1
mov ebx, dword [esp + 0xa0]
cmp ebx, 0x15
jmp 0x51606c
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], edx
add esp, 0x168
ret
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.005147d0
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe8]
movzx ebx, byte [esp + 0x2d]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0xd4]
mov edi, dword [esp + 0xd8]
jmp 0x515f86
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f6ff0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004f2330
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x515f45
lea eax, [0x71c380]
mov dword [esp], eax
mov ebx, dword [esp + 0xf0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004102f0
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x51733f
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jae 0x5179a6
lea edx, [eax + eax*8]
mov ebx, dword [esp + 0xf4]
lea edx, [ebx + edx*8]
test edx, edx
je 0x517232
mov dword [esp + 0xfc], edx
mov eax, ecx
movzx ecx, byte [edx + 0x41]
mov byte [esp + 0x2d], cl
mov ebp, ecx
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x108], ecx
mov esi, edx
mov edx, dword [edx + 0x30]
mov dword [esp + 0x7c], edx
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xc0], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
jmp 0x516e6f
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
call fcn.004f2490
mov eax, dword [esp + 0x78]
inc eax
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x7c]
movzx ebp, byte [esp + 0x2d]
mov dword [esp + 0x78], eax
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc0], esi
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0xf4]
mov esi, dword [esp + 0xfc]
mov ebx, dword [esp + 0x78]
cmp edx, ebx
jle 0x517214
mov dword [esp + 0x40], edi
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x70], eax
nop
and edi, 0x1f
cmp edi, 0x16
jne 0x5171fd
mov edi, dword [esp + 0x40]
test edi, 0x200
je 0x516ece
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.004f2330
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x516e12
test edi, 0x80
je 0x5171ef
mov esi, dword [esp + 0xc8]
mov ebp, dword [esi]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x516e9f
mov ebp, edi
and edi, 0x160
cmp edi, 0x100
jne 0x516f83
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f6ff0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
mov ebp, dword [esp + 0xc8]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f5050
mov edi, dword [esp + 0x40]
jmp 0x516e9f
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
test eax, eax
je 0x516fcf
mov eax, dword [eax + 4]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], ecx
lea eax, [0x77fd40]
mov dword [esp], eax
mov dword [esp + 4], 0x3a
lea ecx, [esp + 0x14c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16c]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x5171ae
xor eax, eax
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov esi, dword [edx + 0x44]
mov edi, ecx
lea ecx, [esi + 1]
mov ebx, dword [edx + 0x40]
mov dword [esp + 0x104], ebx
mov ebp, dword [edx + 0x48]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx]
mov dword [esp + 0x118], ebx
mov edx, dword [edx + 4]
cmp ecx, ebp
ja 0x51712d
mov ecx, dword [esp + 0x104]
lea ebp, [esi + 1]
mov ebx, dword [esp + 0x16c]
mov dword [ebx + 0x44], ebp
lea ebp, [ecx + esi*8 + 4]
mov dword [ebp], edx
mov edx, dword [0x9f0ee0]
lea ecx, [ecx + esi*8]
test edx, edx
jne 0x517112
mov edx, dword [esp + 0x118]
mov dword [ecx], edx
mov ecx, dword [esp + 0x128]
mov dword [ebx + 0x38], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5170f0
mov edx, dword [esp + 0xcc]
mov dword [ebx + 0x3c], edx
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov ebx, eax
mov eax, dword [esp + 0x44]
mov eax, ebp
mov ebp, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x44]
jmp 0x515f4d
lea ebp, [ebx + 0x3c]
mov edx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0xcc]
call fcn.0045f470
mov eax, esi
mov edi, edx
mov edx, dword [esp + 0xcc]
jmp 0x5170bd
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, dword [esp + 0x118]
call fcn.0045f470
mov eax, ebp
mov edi, edx
jmp 0x51709f
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edi
mov byte [esp + 0x2e], al
lea eax, [0x718aa0]
mov dword [esp], eax
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00445ed0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x16c]
mov dword [ebx + 0x48], edx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5171a4
mov dword [ebx + 0x40], eax
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x118]
mov edi, dword [esp + 0x80]
mov esi, ecx
mov ecx, eax
movzx eax, byte [esp + 0x2e]
jmp 0x517075
lea edi, [ebx + 0x40]
call fcn.0045f470
jmp 0x517184
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5171e2
mov dword [edx + 0x50], eax
jmp 0x517028
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x517028
mov esi, dword [esp + 0xc8]
mov ebp, esi
jmp 0x516ee3
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc8]
jmp 0x516e12
mov edx, dword [esp + 0x16c]
mov eax, ebp
mov ecx, edi
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc8]
jmp 0x517030
mov eax, dword [esp + 0x16c]
movzx edx, byte [eax + 0x55]
test dl, dl
jne 0x51725e
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0xcc]
mov ebx, eax
xor eax, eax
xor edi, edi
xor ebp, ebp
xor esi, esi
jmp 0x5170cb
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov eax, dword [esp + 0x124]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], eax
lea eax, [0x76fa47]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea edx, [esp + 0x14c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16c]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x517304
mov eax, edx
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0xf4]
jmp 0x517241
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x517335
mov dword [edx + 0x50], eax
jmp 0x5172f2
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x5172f2
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x124]
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x74]
xor edx, edx
jmp 0x51737e
mov eax, dword [esp + 0x6c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x124]
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0x74]
cmp edx, ecx
jge 0x5173fe
jae 0x51799f
mov dword [esp + 0x6c], edx
lea ecx, [edx + edx*8]
lea edi, [eax + ecx*8]
mov dword [esp + 0xf8], edi
lea ebx, [eax + ecx*8 + 0x14]
mov ebx, dword [ebx]
mov dword [esp + 0x100], ebx
mov ebx, dword [ebx]
lea ecx, [eax + ecx*8 + 8]
mov ecx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x100]
call ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x51735d
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0xf4]
mov edx, eax
jmp 0x516d9d
xor eax, eax
jmp 0x5173ec
lea eax, [0x742de0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768108]
mov dword [eax], ecx
mov ecx, dword [esp + 0x128]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5174c7
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x16c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x517484
mov dword [esp], ecx
call fcn.005146b0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x168
ret
mov dword [esp], ecx
lea edx, [0x7ec544]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5174bd
mov dword [edx + 0x50], eax
mov ecx, edx
jmp 0x51745f
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x5174b9
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xcc]
call fcn.0045f470
mov eax, ecx
jmp 0x517445
mov ecx, dword [eax + 0x4c]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 2]
cmp ecx, 0xa
ja 0x517597
mov eax, dword [esp + 0xa8]
test eax, 0x200
je 0x517520
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x515d96
test eax, 0x80
je 0x51758c
mov ecx, dword [esp + 0x120]
mov ebx, dword [ecx]
test ebx, ebx
setne dl
xor edx, 1
test dl, dl
je 0x517515
mov eax, dword [esp + 0x128]
mov dword [esp], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.004f6e60
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.004f5050
mov eax, dword [esp + 0xa8]
jmp 0x517515
mov ecx, dword [esp + 0x120]
mov ebx, ecx
jmp 0x517530
cmp eax, 0x18
je 0x517507
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0xcc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x7f1d98]
cmp eax, edx
jne 0x5179eb
mov dword [esp], ecx
call fcn.004ec690
mov eax, dword [0x9d30f0]
mov ecx, dword [0x9d30f4]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ec9b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x517507
lea eax, [0x742de0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768108]
mov dword [eax], ecx
mov ecx, dword [esp + 0x128]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5176c6
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x16c]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x517683
mov dword [esp], ecx
call fcn.005146b0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x168
ret
mov dword [esp], ecx
lea edx, [0x7ec544]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x16c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5176bc
mov dword [edx + 0x50], eax
mov ecx, edx
jmp 0x51765e
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x5176b8
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xcc]
call fcn.0045f470
mov eax, ecx
jmp 0x517644
mov eax, dword [esp + 0x16c]
mov dword [esp], eax
call fcn.0051a500
mov eax, dword [esp + 4]
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x5177b5
lea ecx, [0x71c400]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5177a5
mov dword [0x9d3920], eax
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
mov ecx, dword [esp + 0x12c]
test ecx, ecx
je 0x51779d
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x51774f
or edx, 0x80
mov ebx, dword [esp + 0x11c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x120]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004f5050
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
add esp, 0x168
ret
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x51774f
lea edi, [0x9d3920]
call fcn.0045f470
jmp 0x517721
lea ecx, [0x71c400]
jmp 0x517721
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004f42c0
mov eax, dword [esp + 0xc]
test eax, eax
xchg esi, ebx
sete bl
xchg esi, ebx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x128]
jmp 0x515d62
mov dword [esp + 0x128], ecx
mov dword [esp + 0x48], eax
nop
mov eax, dword [esp + 0x16c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x9c], ecx
mov dword [esp], eax
call fcn.005146b0
mov eax, dword [esp + 0x16c]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, edx
ja 0x517a10
mov ebx, dword [esp + 0x9c]
lea ebp, [ebx - 1]
cmp ebp, eax
ja 0x517a07
mov esi, dword [esp + 0x48]
mov esi, dword [esi + 0x10]
mov edi, dword [esp + 0x128]
mov dword [esp], edi
sub edx, ebx
inc edx
mov edi, edx
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, ebp
mov dword [esp + 4], ecx
sub eax, ebx
inc eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
add esp, 0x168
ret
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
call fcn.0045f530
mov dword [esp + 0xa8], eax
lea eax, [0x731400]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x772515]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
lea ecx, [0x7223c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00432820
mov dword [esp + 0xa8], eax
lea eax, [0x731400]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x7719b2]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
lea ecx, [0x7223c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00432820
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c98]
mov dword [esp + 4], eax
call fcn.00432820
mov dword [esp], edx
lea eax, [0x761520]
mov dword [esp + 4], eax
lea eax, [0x75a040]
mov dword [esp + 8], eax
call fcn.00409200
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
mov eax, edx
call fcn.0045f4f0
call fcn.0045f4f0
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
mov eax, edi
mov ecx, ebp
call fcn.0045f550
mov ecx, ebp
call fcn.0045f530
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
mov dword [esp], eax
lea eax, [0x761520]
mov dword [esp + 4], eax
lea eax, [0x75a040]
mov dword [esp + 8], eax
call fcn.00409200
mov ecx, eax
mov eax, ebp
call fcn.0045f550
mov ecx, eax
call fcn.0045f530
nop
call fcn.0045df10
jmp fcn.00515b70