Function at 0x517b20
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 0x51a17b
sub esp, 0xf8
mov eax, dword [esp + 0x104]
test eax, eax
jne 0x517cb5
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.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x517c01
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x517c7a
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.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x517cab
mov dword [edx + 0x50], eax
jmp 0x517c5d
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x517c5d
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.00514ba0
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 0x51a0e7
test edx, edx
je 0x5181d8
mov eax, dword [esp + 0x100]
movzx ecx, byte [eax]
cmp cl, 0x22
je 0x518035
movzx edx, byte [esp + 0x118]
test dl, dl
jne 0x517ecf
cmp cl, 0x66
jne 0x517ea1
lea eax, [0x8021a4]
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0xaec8c0]
test eax, eax
jne 0x517e90
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x517e74
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 0x517e33
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0xf8
ret
mov dword [esp], eax
lea ecx, [0x8ac720]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x517e6a
mov dword [edx + 0x50], eax
jmp 0x517e16
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x517e16
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov edi, edx
jmp 0x517dfa
mov eax, dword [esp + 0xa0]
call fcn.00466130
jmp 0x517dd8
cmp cl, 0x6e
jne 0x517eb6
lea eax, [0x802408]
mov ecx, 4
jmp 0x517d54
cmp cl, 0x74
je 0x517d49
lea eax, [0x803e13]
mov ecx, 6
jmp 0x517d54
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.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x517f81
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x517ffa
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.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51802b
mov dword [edx + 0x50], eax
jmp 0x517fdd
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x517fdd
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.0051a960
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test al, al
jne 0x51819c
movzx eax, byte [esp + 0x118]
test al, al
je 0x51a162
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.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518139
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
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 0x519ef0
cmp cl, 0x22
je 0x519645
cmp cl, 0x66
jne 0x518813
movzx edx, byte [esp + 0x118]
test dl, dl
je 0x518807
mov ebx, dword [esp + 0x104]
cmp ebx, 4
je 0x5187f6
cmp ebx, 5
je 0x518389
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5182d5
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x51834e
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.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51837f
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
cmp dword [eax], 0x736c6166
jne 0x518238
cmp byte [eax + 4], 0x65
jne 0x518238
cmp cl, 0x74
sete cl
nop
nop
and esi, 0x1f
cmp esi, 1
je 0x5187d9
cmp esi, 0x14
je 0x5185f9
test dl, dl
je 0x518506
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518465
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
jne 0x518331
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5184f9
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x8021a4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5185e4
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5185d7
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x51857d
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.00490260
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5186d8
movzx ecx, byte [esp + 0x2f]
movzx ecx, cl
lea edx, [0xa9cdc0]
lea eax, [edx + ecx*8]
nop
movzx ecx, byte [0xacd7b0]
test cl, cl
je 0x5186d0
lea ecx, [0x79c620]
mov dword [0xacd7b4], ecx
mov edx, dword [0xaec8c0]
test edx, edx
jne 0x5186c3
mov dword [0xacd7b8], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x5186bb
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x518688
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.00490ff0
jmp 0x518331
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x518688
lea edi, [0xacd7b8]
call fcn.00466130
jmp 0x51865a
lea ecx, [0x79c620]
jmp 0x51865a
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x8021a4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5187c4
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5187b7
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x51875d
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.00491120
jmp 0x518331
cmp dword [eax], 0x65757274
jne 0x51822f
jmp 0x51839f
mov ebx, dword [esp + 0x104]
jmp 0x51839f
cmp cl, 0x2d
je 0x518938
add ecx, 0xffffffd0
cmp cl, 9
jbe 0x518938
movzx ecx, byte [esp + 0x118]
test cl, cl
je 0x51a12d
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x5188d5
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
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.0044dae0
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 0x519170
lea ebp, [edx - 2]
cmp ebp, 4
jbe 0x518eb4
cmp edx, 7
jae 0x518c4a
cmp edx, 0x18
je 0x518be7
xor edx, edx
test dl, dl
jne 0x518bbc
movzx eax, byte [esp + 0x118]
test al, al
je 0x518abf
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.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x518a5c
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x803e13]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x518ba7
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x518b9a
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x518b40
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.00491d40
jmp 0x518331
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.00492500
mov eax, dword [esp + 0xc]
mov ecx, dword [0xaccfb4]
mov edx, dword [esp + 0x10]
cmp dword [0xaccfb0], eax
je 0x518c33
xor eax, eax
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x70]
mov edx, eax
mov eax, dword [esp + 0xa8]
jmp 0x518999
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00403800
movzx eax, byte [esp + 0xc]
jmp 0x518c1d
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.00471ef0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x518dd4
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov dword [esp], 0
lea ecx, [0x804e76]
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.0044d960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x518dca
mov dword [edi], eax
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x518db1
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 0x518331
mov dword [esp], eax
lea ecx, [0x8ac720]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x518da4
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov edi, edx
jmp 0x518d4a
call fcn.00466130
jmp 0x518d2c
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 0x518c7a
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.00491b50
jmp 0x518331
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x40
call fcn.004726c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x519042
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov dword [esp], 0
lea ecx, [0x804e76]
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.0044d960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519038
mov dword [edi], eax
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51901f
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 0x518331
mov dword [esp], eax
lea ecx, [0x8ac720]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519012
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov edi, edx
jmp 0x518fb8
call fcn.00466130
jmp 0x518f9a
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 0x518ee8
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.004915e0
jmp 0x518331
cmp edx, 0xe
jbe 0x519422
cmp edx, 0x14
jne 0x51898e
mov edx, dword [esp + 0xfc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00517950
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 0x519209
nop
mov eax, dword [esp + 0xfc]
mov ebx, dword [eax + 0x4c]
test ebx, ebx
jne 0x518331
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5191fc
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
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.00490260
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x519321
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x519319
nop
movzx ecx, byte [0xacd7b0]
test cl, cl
je 0x519306
mov ecx, dword [esp + 0xc0]
mov dword [0xacd7b4], ecx
mov edx, dword [0xaec8c0]
test edx, edx
jne 0x5192f2
mov eax, dword [esp + 0x9c]
mov dword [0xacd7b8], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x5192ea
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5192b7
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.00490ff0
jmp 0x518331
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5192b7
lea edi, [0xacd7b8]
mov eax, dword [esp + 0x9c]
call fcn.00466130
jmp 0x519289
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xc0]
jmp 0x519289
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5192b7
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x803e13]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51940d
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519400
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x5193a6
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.00492500
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.004718b0
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5195df
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov dword [esp], 0
lea ecx, [0x804e76]
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.0044d960
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5195d5
mov dword [edi], eax
mov ecx, dword [esp + 0xbc]
mov dword [edi + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5195bc
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 0x518331
mov dword [esp], eax
lea ecx, [0x8ac720]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x5195af
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov edi, edx
jmp 0x519555
call fcn.00466130
jmp 0x519537
mov eax, dword [esp + 0x54]
cmp eax, 0xd
jne 0x51961e
nop
xorps xmm1, xmm1
ucomisd xmm1, xmm0
jbe 0x5195fe
movsd xmm1, qword [0x8a72e8]
pxor xmm0, xmm1
movsd xmm1, qword [0x8a72d0]
ucomisd xmm0, xmm1
jbe 0x51961e
movsd xmm1, qword [0x8a72d8]
ucomisd xmm1, xmm0
jae 0x519485
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.00491520
jmp 0x518331
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.0051a960
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test al, al
je 0x519dce
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 0x519bc2
cmp eax, 0x17
je 0x51992f
cmp eax, 0x18
jne 0x519832
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.00492500
mov eax, dword [esp + 0xc]
mov ecx, dword [0xaccfb4]
mov edx, dword [esp + 0x10]
cmp dword [0xaccfb0], eax
je 0x5197d2
xor eax, eax
test al, al
jne 0x519731
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.0044dae0
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.00491d40
jmp 0x518331
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
lea eax, [0x81ffab]
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.004d94d0
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.00403800
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5197f2
xor eax, eax
jmp 0x5196e7
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.0044dae0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0051d740
movzx eax, byte [esp + 8]
xor eax, 1
jmp 0x5196e7
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x8040e9]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51991a
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51990d
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x5198b3
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.00492500
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 0x519ac1
mov eax, dword [0xacc818]
cmp dword [eax + 0x140], 0xffffffff
jne 0x519ab2
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, [0x79faa0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a490
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov ecx, dword [0xacc818]
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.00513450
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x519a6c
nop
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
jne 0x518331
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519a5f
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
mov edx, dword [esp + 0x50]
cmp edx, ecx
jb 0x51a145
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.004911f0
jmp 0x518331
mov eax, dword [esp + 0x44]
shr eax, 2
lea ecx, [eax + eax*2]
jmp 0x5199a6
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x8040e9]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519bad
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519ba0
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x519b46
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.00490260
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x519ccd
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.0044dae0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409950
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0xacd7b0]
test cl, cl
je 0x519cc5
lea ecx, [0x79f7e0]
mov dword [0xacd7b4], ecx
mov edx, dword [0xaec8c0]
test edx, edx
jne 0x519cb8
mov dword [0xacd7b8], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x519cb0
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x519c7d
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.00490ff0
jmp 0x518331
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x519c7d
lea edi, [0xacd7b8]
call fcn.00466130
jmp 0x519c4f
lea ecx, [0x79f7e0]
jmp 0x519c4f
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.00492500
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, [0x7d2da0]
mov dword [esp], ebp
call fcn.0040c160
mov eax, dword [esp + 4]
mov dword [eax + 4], 6
lea ecx, [0x8040e9]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 8], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519db9
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 0x518331
mov dword [esp], ecx
lea edx, [0x8ac720]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x519dac
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xc0]
call fcn.00466130
mov eax, ecx
jmp 0x519d52
movzx eax, byte [esp + 0x118]
test al, al
je 0x51a14a
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.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x519e8d
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
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 0x51a0d9
movzx ecx, byte [esp + 0x118]
test cl, cl
je 0x51a063
mov ecx, dword [esp + 0x104]
cmp ecx, 4
je 0x51a057
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00492500
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.004099d0
mov eax, dword [esp + 0xc]
lea ecx, [0x78ca20]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x519fb6
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xf4], eax
lea eax, [0x820aba]
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.004d94d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x4c]
test ebx, ebx
jne 0x518331
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005144b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0xaec8c0]
test ecx, ecx
jne 0x51a04a
mov dword [edx + 0x50], eax
jmp 0x518331
lea edi, [edx + 0x50]
call fcn.00466130
jmp 0x518331
cmp dword [eax], 0x6c6c756e
jne 0x519f19
nop
mov eax, esi
and esi, 0x1f
lea ecx, [esi - 0x14]
nop
cmp ecx, 3
ja 0x518331
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00492500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00493220
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.00490ff0
jmp 0x518331
cmp cl, 0x74
je 0x51820f
jmp 0x518813
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, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7508]
mov dword [esp + 4], eax
call fcn.004353f0
call fcn.004661f0
lea eax, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7508]
mov dword [esp + 4], eax
call fcn.004353f0
lea eax, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7508]
mov dword [esp + 4], eax
call fcn.004353f0
nop
call fcn.00464bd0
jmp fcn.00517b20