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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x51a25b
sub esp, 0xf8
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x517d95
mov eax, dword [esp + 0x10c]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x517ce1
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x517d5a
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0xf8
ret
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x517d8b
mov dword [edx + 0x50], eax
jmp 0x517d3d
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x517d3d
mov eax, dword [esp + 0x100]
cmp byte [eax], 0x6e
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00514c80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x51a1c7
test edx, edx
je 0x5182b8
mov eax, dword [esp + 0x100]
movzx ecx, byte [eax]
cmp cl, 0x22
je 0x518115
movzx edx, byte [esp + 0x118]
test dl, dl
jne 0x517faf
cmp cl, 0x66
jne 0x517f81
lea eax, [0x7679ad]
mov ecx, 4
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa0], eax
mov edx, dword [esp + 0x10c]
mov dword [esp], edx
mov edx, dword [esp + 0x110]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x114]
mov dword [esp + 8], edx
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x517f70
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x517f54
mov eax, dword [esp + 0xc0]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [edi + 0x10], eax
sar eax, 0x1f
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x517f13
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0xf8
ret
mov dword [esp], eax
lea ecx, [0x7ec544]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x517f4a
mov dword [edx + 0x50], eax
jmp 0x517ef6
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x517ef6
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov edi, edx
jmp 0x517eda
mov eax, dword [esp + 0xa0]
call fcn.0045f470
jmp 0x517eb8
cmp cl, 0x6e
jne 0x517f96
lea eax, [0x767a55]
mov ecx, 4
jmp 0x517e34
cmp cl, 0x74
je 0x517e29
lea eax, [0x768102]
mov ecx, 6
jmp 0x517e34
mov eax, dword [esp + 0x10c]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518061
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x5180da
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0xf8
ret
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x51810b
mov dword [edx + 0x50], eax
jmp 0x5180bd
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x5180bd
mov dword [esp + 0x74], edx
mov dword [esp + 0xc0], ebx
mov dword [esp], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x108]
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
jne 0x51827c
movzx eax, byte [esp + 0x118]
test al, al
je 0x51a242
mov eax, dword [esp + 0x10c]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518219
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
mov ebp, dword [esp + 0xc0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
mov dword [esp + 0x70], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], edi
mov eax, dword [esp + 0x100]
movzx ecx, byte [eax]
cmp cl, 0x66
ja 0x519fd0
cmp cl, 0x22
je 0x519725
cmp cl, 0x66
jne 0x5188f3
movzx edx, byte [esp + 0x118]
test dl, dl
je 0x5188e7
mov ebx, dword [esp + 0x104]
cmp ebx, 4
je 0x5188d6
cmp ebx, 5
je 0x518469
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5183b5
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x51842e
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0xf8
ret
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x51845f
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
cmp dword [eax], 0x736c6166
jne 0x518318
cmp byte [eax + 4], 0x65
jne 0x518318
cmp cl, 0x74
sete cl
nop
nop
and esi, 0x1f
cmp esi, 1
je 0x5188b9
cmp esi, 0x14
je 0x5186d9
test dl, dl
je 0x5185e6
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518545
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5185d9
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x7679ad]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5186c4
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5186b7
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x51865d
mov byte [esp + 0x2f], cl
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f42c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5187b8
movzx ecx, byte [esp + 0x2f]
movzx ecx, cl
lea edx, [0x992a20]
lea eax, [edx + ecx*8]
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x5187b0
lea ecx, [0x7163a0]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5187a3
mov dword [0x9d3920], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x51879b
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x518768
or edx, 0x80
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004f5050
jmp 0x518411
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x518768
lea edi, [0x9d3920]
call fcn.0045f470
jmp 0x51873a
lea ecx, [0x7163a0]
jmp 0x51873a
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x7679ad]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5188a4
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x518897
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x51883d
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov byte [esp + 0xc], cl
call fcn.004f5180
jmp 0x518411
cmp dword [eax], 0x65757274
jne 0x51830f
jmp 0x51847f
mov ebx, dword [esp + 0x104]
jmp 0x51847f
cmp cl, 0x2d
je 0x518a18
add ecx, 0xffffffd0
cmp cl, 9
jbe 0x518a18
movzx ecx, byte [esp + 0x118]
test cl, cl
je 0x51a20d
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5189b5
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
mov dword [esp], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004493b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
nop
mov edx, dword [esp + 0x70]
mov ebx, edx
and edx, 0x1f
cmp edx, 0xc
ja 0x519250
lea ebp, [edx - 2]
cmp ebp, 4
jbe 0x518f94
cmp edx, 7
jae 0x518d2a
cmp edx, 0x18
je 0x518cc7
xor edx, edx
test dl, dl
jne 0x518c9c
movzx eax, byte [esp + 0x118]
test al, al
je 0x518b9f
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518b3c
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768102]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x518c87
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x518c7a
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x518c20
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004f5da0
jmp 0x518411
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [0x9d30e4]
mov edx, dword [esp + 0x10]
cmp dword [0x9d30e0], eax
je 0x518d13
xor eax, eax
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0xa8]
jmp 0x518a79
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00403a40
movzx eax, byte [esp + 0xc]
jmp 0x518cfd
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 0x518eb4
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov dword [esp], 0
lea ecx, [0x768567]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x518eaa
mov dword [edi], eax
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x518e91
mov eax, dword [esp + 0xc0]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [edi + 0x10], eax
sar eax, 0x1f
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x518411
mov dword [esp], eax
lea ecx, [0x7ec544]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x518e84
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov edi, edx
jmp 0x518e2a
call fcn.0045f470
jmp 0x518e0c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0xb4]
mov ebx, dword [eax]
shl ebx, 3
add ebx, 0xffffffc0
neg ebx
cmp ebx, 0x20
sbb ebp, ebp
lea esi, [ebx - 0x20]
mov dword [esp + 0x6c], esi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x68], edi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb eax, eax
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
shl eax, cl
and eax, edi
mov ecx, ebx
shl edx, cl
and edx, ebp
mov ecx, esi
mov edi, dword [esp + 0x30]
shr edi, cl
mov esi, dword [esp + 0x64]
and edi, esi
or edx, edi
or edx, eax
mov eax, ecx
mov ecx, ebx
mov edi, dword [esp + 0x30]
shl edi, cl
and edi, ebp
shr edi, cl
and edi, ebp
mov ecx, eax
mov eax, edx
shl edx, cl
and edx, esi
or edi, edx
mov ecx, dword [esp + 0x6c]
mov edx, eax
shr eax, cl
mov esi, dword [esp + 0x68]
and eax, esi
or edi, eax
mov eax, dword [esp + 0x30]
cmp edi, eax
xchg esi, ebx
setne bl
xchg esi, ebx
mov ecx, ebx
shr edx, cl
and edx, ebp
mov ebx, dword [esp + 0x38]
cmp edx, ebx
setne dl
or edx, esi
test dl, dl
jne 0x518d5a
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
call fcn.004f5bb0
jmp 0x518411
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 0x519122
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov dword [esp], 0
lea ecx, [0x768567]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x519118
mov dword [edi], eax
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5190ff
mov eax, dword [esp + 0xc0]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [edi + 0x10], eax
sar eax, 0x1f
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x518411
mov dword [esp], eax
lea ecx, [0x7ec544]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5190f2
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov edi, edx
jmp 0x519098
call fcn.0045f470
jmp 0x51907a
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0xb4]
mov ebp, dword [eax]
shl ebp, 3
add ebp, 0xffffffc0
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x74], ebp
lea esi, [ebp - 0x20]
mov dword [esp + 0x68], esi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x64], edi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb edx, edx
mov dword [esp + 0x60], edx
cmp ebp, 0x20
sbb eax, eax
mov dword [esp + 0x5c], eax
shr ebp, 5
cmp ebp, 1
sbb ebp, ebp
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x74]
cmp ebp, 0x20
sbb edx, edx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x34]
shl edx, cl
mov ecx, ebp
shl ebx, cl
and edx, edi
mov ecx, esi
mov edi, dword [esp + 0x34]
shr edi, cl
and ebx, eax
mov esi, dword [esp + 0x60]
and edi, esi
or ebx, edi
or ebx, edx
mov edx, ecx
mov ecx, ebp
mov edi, dword [esp + 0x34]
shl edi, cl
and edi, eax
mov eax, dword [esp + 0x64]
not eax
mov ebp, dword [esp + 0x68]
or eax, ebp
mov ebp, ecx
mov ecx, eax
mov eax, ebx
sar ebx, cl
mov ecx, ebp
mov ebp, dword [esp + 0x58]
xor ebp, 0xffffffff
and ebp, ebx
mov ebx, ecx
mov ecx, edx
mov edx, eax
shl eax, cl
and eax, esi
mov ecx, ebx
shr edi, cl
mov esi, dword [esp + 0x5c]
and edi, esi
or edi, eax
or ebp, edi
mov eax, dword [esp + 0x34]
cmp ebp, eax
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov esi, dword [esp + 0x74]
xchg esi, ebx
not ebx
xchg esi, ebx
or ecx, esi
sar edx, cl
mov ebx, dword [esp + 0x6c]
cmp ebx, edx
setne dl
or edx, ebp
test dl, dl
jne 0x518fc8
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.004f5640
jmp 0x518411
cmp edx, 0xe
jbe 0x519502
cmp edx, 0x14
jne 0x518a6e
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00517a30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x5192e9
nop
mov eax, dword [esp + 0xfc]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
jne 0x518411
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5192dc
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
mov dword [esp + 0x74], ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xc0], ebp
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
call fcn.004f42c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x519401
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x5193f9
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x5193e6
mov ecx, dword [esp + 0xc0]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x5193d2
mov eax, dword [esp + 0x9c]
mov dword [0x9d3920], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x5193ca
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x519397
or edx, 0x80
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004f5050
jmp 0x518411
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x519397
lea edi, [0x9d3920]
mov eax, dword [esp + 0x9c]
call fcn.0045f470
jmp 0x519369
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xc0]
jmp 0x519369
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x519397
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768102]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5194ed
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5194e0
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x519486
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004dcd90
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5196bf
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov dword [esp], 0
lea ecx, [0x768567]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
call fcn.00449230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5196b5
mov dword [edi], eax
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x51969c
mov eax, dword [esp + 0xc0]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [edi + 0x10], eax
sar eax, 0x1f
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x518411
mov dword [esp], eax
lea ecx, [0x7ec544]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x51968f
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov edi, edx
jmp 0x519635
call fcn.0045f470
jmp 0x519617
mov eax, dword [esp + 0x54]
cmp eax, 0xd
jne 0x5196fe
nop
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x5196de
movsd xmm1, qword [0x7e7a90]
pxor xmm0, xmm1
movsd xmm1, qword [0x7e7a78]
ucomisd xmm0, xmm1
jbe 0x5196fe
movsd xmm1, qword [0x7e7a80]
ucomisd xmm1, xmm0
jae 0x519565
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f5580
jmp 0x518411
mov dword [esp], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.0051aa40
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test al, al
je 0x519eae
mov dword [esp + 0xa4], edx
mov dword [esp + 0x44], ecx
nop
nop
mov eax, dword [esp + 0x70]
mov ebp, eax
and eax, 0x1f
cmp eax, 0x14
je 0x519ca2
cmp eax, 0x17
je 0x519a0f
cmp eax, 0x18
jne 0x519912
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [0x9d30e4]
mov edx, dword [esp + 0x10]
cmp dword [0x9d30e0], eax
je 0x5198b2
xor eax, eax
test al, al
jne 0x519811
mov dword [esp], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004493b0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f5da0
jmp 0x518411
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
lea eax, [0x780d78]
mov dword [esp], eax
mov dword [esp + 4], 0x40
lea eax, [esp + 0xe0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00403a40
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5198d2
xor eax, eax
jmp 0x5197c7
lea eax, [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.004493b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0051d820
movzx eax, byte [esp + 8]
xor eax, 1
jmp 0x5197c7
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768174]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5199fa
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x5199ed
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x519993
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
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 eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 8
jne 0x519ba1
mov eax, dword [0x9d2118]
cmp dword [eax + 0x140], 0xffffffff
jne 0x519b92
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*2]
mov edx, ecx
shl ecx, 1
sar ecx, 0x1f
shr ecx, 0x1d
lea ecx, [ecx + edx*2]
sar ecx, 3
mov dword [esp + 0x50], ecx
lea eax, [0x718d60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00445e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov ecx, dword [0x9d2118]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
call fcn.00513530
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x519b4c
nop
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x518411
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00514590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x519b3f
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
mov edx, dword [esp + 0x50]
cmp edx, ecx
jb 0x51a225
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f5250
jmp 0x518411
mov eax, dword [esp + 0x44]
shr eax, 2
lea ecx, [eax + eax*2]
jmp 0x519a86
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768174]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x519c8d
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x519c80
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x519c26
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004f42c0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x519dad
mov dword [esp], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004493b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x9d3918]
test cl, cl
je 0x519da5
lea ecx, [0x718aa0]
mov dword [0x9d391c], ecx
mov edx, dword [0x9f0ee0]
test edx, edx
jne 0x519d98
mov dword [0x9d3920], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x519d90
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x519d5d
or edx, 0x80
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004f5050
jmp 0x518411
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x519d5d
lea edi, [0x9d3920]
call fcn.0045f470
jmp 0x519d2f
lea ecx, [0x718aa0]
jmp 0x519d2f
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
lea ebp, [0x742de0]
mov dword [esp], ebp
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x768174]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x519e99
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x78]
dec ecx
mov dword [eax + 0x10], ecx
sar ecx, 0x1f
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x4c]
test edx, edx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x519e8c
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.0045f470
mov eax, ecx
jmp 0x519e32
movzx eax, byte [esp + 0x118]
test al, al
je 0x51a22a
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x519f6d
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
cmp cl, 0x6e
jne 0x51a1b9
movzx ecx, byte [esp + 0x118]
test cl, cl
je 0x51a143
mov ecx, dword [esp + 0x104]
cmp ecx, 4
je 0x51a137
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov edx, dword [esp + 0x100]
mov dword [esp], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00409530
mov eax, dword [esp + 0xc]
lea ecx, [0x709c00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x51a096
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x7816e6]
mov dword [esp], eax
mov dword [esp + 4], 0x47
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004fe200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
jne 0x518411
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 + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x51a12a
mov dword [edx + 0x50], eax
jmp 0x518411
lea edi, [edx + 0x50]
call fcn.0045f470
jmp 0x518411
cmp dword [eax], 0x6c6c756e
jne 0x519ff9
nop
mov eax, esi
and esi, 0x1f
lea ecx, [esi - 0x14]
nop
cmp ecx, 3
ja 0x518411
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.004f6560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
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 + 0xb4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004f5050
jmp 0x518411
cmp cl, 0x74
je 0x5182ef
jmp 0x5188f3
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
add esp, 0xf8
ret
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
call fcn.0045f530
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e7c80]
mov dword [esp + 4], eax
call fcn.00432820
nop
call fcn.0045df10
jmp fcn.00517c00