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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 8]
add ebx, 0xffffffcc
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x514c0a
mov eax, dword [ebp + 8]
add eax, 0xffffffc8
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
call fcn.00404bd4
push 0
push 0x7fffffff
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + 0x1c]
call fcn.004236e4
test al, 2
setne al
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov eax, dword [eax + 0xc]
call fcn.00423438
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x38]
xor ecx, ecx
call fcn.004d95d8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x44], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x40], edx
jmp 0x514c25
lea ecx, [ebp - 0x2c]
xor edx, edx
xor eax, eax
call fcn.005290e4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x44], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x40], edx
mov eax, dword [ebx]
mov al, byte [eax + 0x8a]
sub al, 2
jae 0x514c5b
mov eax, dword [ebx]
cmp dword [eax + 0x9c], 0
je 0x514c5b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x28]
add eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x514c65
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x1fffffff
mov eax, dword [ebx]
cmp byte [eax + 0x14], 0
je 0x514c89
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x514c93
mov eax, dword [ebx]
mov edi, dword [eax + 0x7c]
jmp 0x514d33
mov eax, dword [ebx]
call fcn.004a3bf0
sub eax, 1
jb 0x514caa
je 0x514d27
jmp 0x514d2e
mov eax, dword [ebx]
mov edi, dword [eax + 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
mov eax, dword [eax + 0x80]
cmp byte [eax + 7], 0
je 0x514d33
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4d], 0
je 0x514cf1
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x520]
mov eax, dword [edx + eax*8 + 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x514d33
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0xfc]
imul edx, eax, 0x22
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x48]
mov ecx, dword [ecx + 0x520]
mov edx, dword [ecx + edx*8 + 0x1c]
mov ecx, dword [ebp + 8]
test eax, eax
setge al
mov ecx, 0xffffff
call fcn.00528d74
mov dword [ebp - 0x14], eax
jmp 0x514d33
mov eax, dword [ebx]
mov edi, dword [eax + 0x74]
jmp 0x514d33
mov eax, dword [ebx]
mov edi, dword [eax + 0x78]
test edi, edi
jge 0x514d3c
mov eax, dword [ebx]
mov edi, dword [eax + 0x6c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov esi, dword [eax + 0x1c]
mov eax, dword [ebx]
cmp byte [eax + 0x19], 0
je 0x514dc1
mov eax, dword [ebx]
call fcn.004a3d68
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
mov edx, dword [edx + 0x24c]
add eax, dword [edx + 0x38]
add eax, eax
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
pop edx
sub eax, edx
imul esi
mov ecx, 0x60
cdq
idiv ecx
push eax
mov eax, dword [ebx]
call fcn.004a3d68
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
mov edx, dword [edx + 0x24c]
add eax, dword [edx + 0x38]
add eax, eax
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
pop edx
sub eax, edx
imul esi
mov ecx, 0x60
cdq
idiv ecx
lea ecx, [ebp - 0x2c]
pop edx
call fcn.005290e4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
jmp 0x514eb5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x68], 0
je 0x514e41
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
call fcn.00485e68
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.00528ddc
test al, al
je 0x514e41
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
mov ecx, esi
mov edx, edi
call fcn.00485fd4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
mov ecx, esi
mov edx, edi
call fcn.00485eb0
lea ecx, [ebp - 0x2c]
pop edx
call fcn.005290e4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
jmp 0x514eb5
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x514e9a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x514e9a
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
mov ecx, 0x60
cdq
idiv ecx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov ecx, 0x60
cdq
idiv ecx
lea ecx, [ebp - 0x2c]
pop edx
call fcn.005290e4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
jmp 0x514eb5
lea ecx, [ebp - 0x2c]
xor edx, edx
xor eax, eax
call fcn.005290e4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
mov dword [eax - 0x5c], edx
mov edx, dword [ebp - 0x28]
mov dword [eax - 0x58], edx
mov eax, dword [ebx]
mov al, byte [eax + 0x98]
sub al, 1
jb 0x514ed0
je 0x514fbe
dec al
je 0x514efe
jmp 0x5150a5
mov eax, dword [ebx]
call fcn.004a3d68
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
mov edx, dword [edx + 0x24c]
add eax, dword [edx + 0x38]
imul esi
mov ecx, 0x60
cdq
idiv ecx
add eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
jmp 0x5150a5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x68], 0
je 0x514f3e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
call fcn.00485e68
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.00528ddc
test al, al
je 0x514f3e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x5c]
mov dword [ebp - 0x10], eax
jmp 0x514f68
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x514f63
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x514f63
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x10], eax
jmp 0x514f68
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x514f89
mov eax, dword [ebp + 8]
cmp dword [eax - 0x44], 0
jle 0x514f89
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
imul esi
mov ecx, 0x60
cdq
idiv ecx
add dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00529134
mov edx, eax
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
sub edx, dword [eax - 0x44]
sub edx, dword [ebp - 0xc]
sar edx, 1
jns 0x514fa8
adc edx, 0
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
call fcn.0042ac18
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
jmp 0x5150a5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x68], 0
je 0x51501a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
call fcn.00485e68
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.00528ddc
test al, al
je 0x51501a
mov eax, dword [ebp + 8]
cmp dword [eax - 0x44], 0
setg al
and eax, 0x7f
mov edx, dword [ebx]
imul dword [edx + 0x64]
imul esi
mov ecx, 0x60
cdq
idiv ecx
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x5c]
mov dword [ebp - 0x10], eax
jmp 0x515066
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0
je 0x515061
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x515061
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x44], 0
setg al
and eax, 0x7f
mov edx, dword [ebx]
imul dword [edx + 0x64]
imul esi
push ecx
mov ecx, 0x60
cdq
idiv ecx
pop ecx
add ecx, eax
mov dword [ebp - 0x10], ecx
jmp 0x515066
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
imul esi
mov ecx, 0x60
cdq
idiv ecx
mov ecx, eax
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
sub ecx, dword [eax - 0x44]
sub ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x20]
add eax, eax
imul esi
push ecx
mov ecx, 0x60
cdq
idiv ecx
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [eax - 0x10], ecx
mov eax, dword [ebp + 8]
mov byte [eax - 0x5d], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x64], 0
jne 0x515193
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4d], 0
je 0x515193
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
xor edx, edx
call fcn.004a45fc
test al, al
je 0x515193
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x520]
cmp dword [edx + eax*8 + 0xc0], 0
jge 0x515193
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x520]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x64], 0xd
cmp dword [eax + edx*4 + 0x14], 0x32
jle 0x515193
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
cmp dword [eax + 0x7aac], 0
jl 0x515193
mov eax, dword [ebp + 8]
mov byte [eax - 0x5d], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
imul eax, dword [eax + 0x7aac], 0x22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x520]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
movzx edx, byte [edx + 0x284]
imul edx, edx, 0xd
mov eax, dword [eax + edx*4 + 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov eax, dword [eax + 0xc]
pop edx
call fcn.00423424
mov eax, dword [ebx]
cmp byte [eax + 0x16], 0
jne 0x5151af
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
imul esi
mov ecx, 0x60
cdq
idiv ecx
mov dword [ebp - 4], eax
jmp 0x5151b7
mov eax, dword [ebx]
mov eax, dword [eax + 0x60]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax - 0x58]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
sar eax, 1
jns 0x5151ca
adc eax, 0
add eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x58]
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x5c]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x30], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x5c], 0
je 0x515233
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x515233
mov eax, dword [ebx]
cmp byte [eax + 0x8a], 2
sete al
and eax, 0x7f
inc eax
mov edx, dword [ebx]
imul dword [edx + 0x64]
imul esi
mov ecx, 0x60
cdq
idiv ecx
mov edx, dword [ebp + 8]
add dword [edx - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x68], 0x100
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x5152a3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
or eax, 0x20
or eax, 0x8000
or eax, 0
mov edx, dword [ebp + 8]
mov dword [edx - 0x68], eax
mov eax, dword [ebp + 8]
push dword [eax - 0x40]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
sar eax, 1
jns 0x51526f
adc eax, 0
add eax, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x2c], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x40]
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [ebp + 8]
add eax, dword [edx - 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.0042ab54
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
jmp 0x5152af
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
cmp dword [ebp - 8], 0
je 0x51530f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x30]
jne 0x5152dd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x10]
je 0x5152ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp + 8]
add dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax - 0x1c], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax - 0x14], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
add eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
jmp 0x51531b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x28c]
cmp byte [eax + 0x5f], 1
jne 0x515371
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov cl, 1
call fcn.0052904c
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
mov cl, 1
call fcn.0052904c
lea edx, [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xffffffd0
mov cl, 1
call fcn.0052904c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
or eax, 2
or eax, 0x20000
mov edx, dword [ebp + 8]
mov dword [edx - 0x68], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x68], 0
je 0x515469
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
call fcn.00485e68
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.00528ddc
test al, al
je 0x515469
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x68]
mov edx, esi
call fcn.004ee284
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x24c]
mov esi, dword [eax + 0x68]
mov eax, esi
mov edx, dword [0x4ecf30]
call fcn.00403ea4
test al, al
jne 0x5153f8
mov eax, dword [ebp + 8]
mov eax, esi
mov edx, dword [0x5480a4]
call fcn.00403ea4
test al, al
je 0x51543d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
push edi
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004fd284
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x3c]
mov eax, dword [ebp + 8]
mov eax, esi
call fcn.004ed8cc
jmp 0x51559e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
push edi
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, esi
call fcn.0045263c
jmp 0x51559e
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x51559e
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x51559e
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov eax, edi
call fcn.004289e8
xor ecx, ecx
xor edx, edx
call fcn.004244a8
mov edx, eax
mov eax, edi
call fcn.00429b60
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
call fcn.00428ad4
cmp al, 7
jne 0x515552
cmp esi, 0x60
jne 0x515509
mov eax, dword [ebx]
cmp byte [eax + 0x19], 0
jne 0x515509
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push eax
push 0x549064
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
call fcn.00528fb4
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x3c]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004d517c
jmp 0x51559e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x5c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x58]
push eax
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
push esi
push 0
push 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004d493c
jmp 0x51559e
cmp esi, 0x60
jne 0x515583
mov eax, dword [ebx]
cmp byte [eax + 0x19], 0
jne 0x515583
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
call fcn.00423f08
jmp 0x51559e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov edx, dword [ebx]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
call fcn.004241a4
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
je 0x51569c
mov eax, dword [ebp + 8]
cmp dword [eax - 0x6c], 0
je 0x5155f4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
push eax
push 0xf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
add eax, 0x20
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
call fcn.00404ffc
mov edx, eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004d28fc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00423d2c
mov eax, dword [ebp + 8]
cmp byte [eax - 0x5d], 0
jne 0x515625
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
xor edx, edx
call fcn.004a45fc
test al, al
jne 0x515629
xor eax, eax
jmp 0x51562b
mov al, 1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
or ecx, 0xffffffff
call fcn.00528d74
mov edx, dword [ebp + 8]
mov dword [edx - 0x74], eax
mov eax, dword [ebp + 8]
add eax, 0xffffffd0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x64]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
call dword [edx + 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
call fcn.00404ffc
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
pop ecx
call fcn.004e3468
jmp 0x5156a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
cmp dword [ebp - 8], 0
je 0x515830
mov eax, dword [ebp + 8]
cmp byte [eax - 0x5d], 0
je 0x51574a
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
push 3
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
mov eax, dword [eax + 0x74]
call fcn.0053b9c0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004fd284
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
imul eax, dword [eax + 0x7aac], 0x22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x520]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x4c]
movzx edx, byte [edx + 0x284]
imul edx, edx, 0xd
mov edx, dword [eax + edx*4 + 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov ecx, 0x1fffffff
call fcn.004cd6ec
jmp 0x515830
mov eax, dword [ebx]
mov eax, dword [eax + 0x94]
xor edx, edx
call fcn.004a45fc
test al, al
je 0x5157d4
mov eax, dword [ebp + 8]
cmp byte [eax - 0x4d], 0
je 0x5157d4
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
push 3
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
mov eax, dword [eax + 0x74]
call fcn.0053b9c0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004fd284
push eax
mov eax, dword [ebp + 8]
imul eax, dword [eax - 0x54], 0x22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x48]
mov edx, dword [edx + 0x520]
lea eax, [edx + eax*8]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x64], 0xd
mov edx, dword [eax + edx*4 + 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov ecx, 0x1fffffff
call fcn.004cd6ec
jmp 0x515830
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
push 3
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004ffa74
mov eax, dword [eax + 0x74]
call fcn.0053b9c0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x25c]
call fcn.004fd284
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
call fcn.004289e8
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
mov ecx, 0x1fffffff
call fcn.004cd6ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret