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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edi
cmp byte [esi + 0xa418], 0
je 0x4fe541
mov ecx, dword [ebx + 0x14]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x18]
push ecx
cdq
mov dword [esp], 0x3eb33333
sub eax, edx
mov edx, dword [ebx + 0x10]
push 0xff000000
push dword [ebx + 0x18]
sar eax, 1
sub edx, eax
push ecx
mov dword [ebx + 0x10], edx
lea ecx, [edi + 0x1321280]
push edx
mov edx, dword [ebx + 0xc]
call fcn.004084c0
mov edx, dword [ebx + 0x10]
add esp, 0x14
cmp byte [esi + 5], 1
movzx eax, byte [esi + 0xa418]
lea ecx, [edx + 5]
cmove ecx, edx
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0xc]
add ecx, 0x24
cmp byte [esi + 5], 1
mov dword [ebp - 0xc], ecx
jne 0x4fd80b
imul ecx, eax, 0x4e
mov al, byte [esi + 4]
sub ecx, 0xc
mov dword [ebp - 0x10], ecx
cmp al, 0x20
jne 0x4fd7d6
mov edx, 0xce
jmp 0x4fd86b
cmp al, 0x10
jne 0x4fd7e4
mov edx, 0xb4
jmp 0x4fd86b
cmp al, 8
jne 0x4fd7ef
mov edx, 0x80
jmp 0x4fd86b
cmp al, 4
jne 0x4fd7fa
mov edx, 0x18
jmp 0x4fd86b
cmp al, 2
jne 0x4fd86b
add ecx, 6
mov edx, 0xc
mov dword [ebp - 0x10], ecx
jmp 0x4fd86b
mov dword [ebp - 0x30], eax
shr eax, 1
imul ecx, eax, 0x4e
mov al, byte [esi + 4]
sub ecx, 6
mov dword [ebp - 0x10], ecx
cmp al, 0x20
jne 0x4fd831
imul ecx, dword [ebp - 0x30], 0x4e
mov edx, 0xd2
sub ecx, 0x54
mov dword [ebp - 0x10], ecx
jmp 0x4fd86b
cmp al, 0x10
jne 0x4fd83c
mov edx, 0xd2
jmp 0x4fd86b
cmp al, 8
jne 0x4fd84d
sub ecx, 6
mov edx, 0xba
mov dword [ebp - 0x10], ecx
jmp 0x4fd86b
cmp al, 4
jne 0x4fd85e
sub ecx, 6
mov edx, 0x86
mov dword [ebp - 0x10], ecx
jmp 0x4fd86b
cmp al, 2
mov dword [ebp - 0x30], 0x18
cmove edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x18]
xorps xmm4, xmm4
movd xmm0, dword [ebx + 0xc]
sub eax, edx
cdq
sub eax, edx
movss xmm2, dword [0x53eac0]
mov edx, dword [ebp - 0x2c]
sar eax, 1
add edx, 5
cvtdq2ps xmm0, xmm0
add eax, edx
mov byte [ebp - 1], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, ecx
sub eax, dword [ebx + 0x14]
add eax, 5
mov dword [ebp - 0x18], 0
movss dword [edx + 0x68], xmm0
movd xmm0, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [edx + 0x78], 0
mov byte [edx + 0x7c], 1
mov dword [edx + 0x80], 0
mov dword [edx + 0x94], 0x41a00000
movd xmm3, eax
movss dword [edx + 0x6c], xmm0
movd xmm0, dword [ebx + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
movss dword [edx + 0x70], xmm0
movd xmm0, dword [ebx + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x88], xmm3
movss dword [edx + 0x74], xmm0
mov eax, dword [edi + 0x30d8]
test eax, eax
jle 0x4fd948
lea eax, [edi + 0x2efa]
cmp byte [eax], 0
jne 0x4fd92e
inc dword [ebp - 0x18]
add eax, 0x3c
mov esi, dword [edi + 0x30d8]
cmp dword [ebp - 0x18], esi
mov esi, dword [ebx + 8]
jl 0x4fd913
jmp 0x4fd948
movss xmm0, dword [edi + 0x1316dd0]
mulss xmm0, xmm2
mov byte [ebp - 1], 1
addss xmm0, dword [edx + 0x40]
movss dword [edx + 0x40], xmm0
mov eax, dword [edi + 0x30d8]
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x4fd97d
lea eax, [edi + 0x2efb]
nop
cmp byte [eax], 0
jne 0x4fdab9
inc dword [ebp - 0x18]
add eax, 0x3c
mov esi, dword [edi + 0x30d8]
cmp dword [ebp - 0x18], esi
mov esi, dword [ebx + 8]
jl 0x4fd960
cmp byte [ebp - 1], 0
je 0x4fd9a9
movss xmm0, dword [edx + 0x40]
comiss xmm0, xmm4
jbe 0x4fd994
mov dword [edx + 0x40], 0
movaps xmm0, xmm3
xorps xmm0, xmmword [0x53ec80]
comiss xmm0, dword [edx + 0x40]
jbe 0x4fd9a9
movss dword [edx + 0x40], xmm0
comiss xmm4, xmm3
jbe 0x4fd9b8
mov dword [edx + 0x88], 0
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jg 0x4fd9de
sub eax, ecx
mov dword [edx + 0x40], 0
mov dword [edx + 0x54], 0
mov byte [edx + 0x48], 0
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 0x18]
push ecx
push eax
push dword [ebx + 0x10]
mov ecx, edi
call fcn.004e37c0
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [ebp - 0x10], eax
jle 0x4fda06
mov edx, dword [ebp - 0x1c]
mov ecx, edi
call fcn.004bb7f0
mov eax, dword [ebp - 0x1c]
push ecx
movss xmm0, dword [eax + 0x40]
movss dword [esp], xmm0
call fcn.005238b2
mov edx, dword [ebp - 0xc]
add esp, 4
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add edx, eax
cmp byte [esi + 5], 1
mov dword [ebp - 0xc], edx
jne 0x4fdca1
cmp byte [esi + 4], 0x20
mov dword [ebp - 0x10], ecx
jne 0x4fdb0c
movzx eax, byte [esi + 0x710]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x4fdafb
lea eax, [esi + 8]
lea edx, [esi + 0x648]
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
nop
xor eax, eax
test ecx, ecx
mov ecx, 5
cmove eax, ecx
push eax
push 0
push ecx
push 0xffffffffffffffff
push 0x20
push dword [ebp - 0x30]
mov ecx, esi
push 0
push edx
mov edx, dword [ebp - 0xc]
push edi
call fcn.004fd3b0
mov ecx, dword [ebp - 0x28]
add esp, 0x24
add edi, 0xa
lea eax, [ecx - 1]
test al, 1
mov eax, dword [ebp - 0x1c]
jne 0x4fdae0
test ecx, ecx
jle 0x4fdae0
add edi, 6
cmp eax, 8
jne 0x4fdad8
add edi, 0x1a
jmp 0x4fdae0
movss xmm1, dword [edi + 0x1316dd0]
movss xmm0, dword [edx + 0x40]
mulss xmm1, xmm2
subss xmm0, xmm1
movss dword [edx + 0x40], xmm0
jmp 0x4fd983
cmp eax, 4
jne 0x4fdae0
add edi, 0x4e
mov edx, dword [ebp - 0x24]
inc ecx
add edx, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
cmp ecx, eax
jl 0x4fda70
mov esi, dword [ebx + 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
add edx, 0x4e
mov ecx, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 0x10
jb 0x4fdb75
mov eax, dword [ebp - 8]
add eax, 0xd
cmp byte [ebp - 1], 0x10
push 0
cmovbe eax, dword [ebp - 8]
mov dword [ebp - 8], eax
xor eax, eax
imul ecx, ecx, 0xca
cmp byte [ebp - 1], 0x10
setne al
push eax
movzx eax, byte [ebp - 1]
push 0xffffffffffffffff
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 8]
movzx eax, byte [ecx + esi + 0x710]
push edx
lea edx, [ecx + 0x648]
mov ecx, edi
push eax
push 0
add edx, esi
call fcn.004fd5b0
mov edx, dword [ebp - 0xc]
add esp, 0x24
mov ecx, dword [ebp - 0x10]
add edx, 0x4e
inc ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 8
jb 0x4fdbde
mov eax, dword [ebp - 8]
add eax, 0x1a
cmp byte [ebp - 1], 8
push 0
cmovbe eax, dword [ebp - 8]
mov dword [ebp - 8], eax
xor eax, eax
imul ecx, ecx, 0xca
cmp byte [ebp - 1], 8
setne al
push eax
movzx eax, byte [ebp - 1]
push 0xffffffffffffffff
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 8]
movzx eax, byte [ecx + esi + 0x710]
push edx
lea edx, [ecx + 0x648]
mov ecx, edi
push eax
push 0
add edx, esi
call fcn.004fd5b0
mov edx, dword [ebp - 0xc]
add esp, 0x24
mov ecx, dword [ebp - 0x10]
add edx, 0x4e
inc ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 4
jb 0x4fdc44
mov eax, dword [ebp - 8]
add eax, 0x34
cmp byte [ebp - 1], 4
push 0x1ac
cmovbe eax, dword [ebp - 8]
mov dword [ebp - 8], eax
xor eax, eax
imul ecx, ecx, 0xca
cmp byte [ebp - 1], 4
setne al
push eax
movzx eax, byte [ebp - 1]
push 0xffffffffffffffff
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 8]
movzx eax, byte [ecx + esi + 0x710]
push edx
lea edx, [ecx + 0x648]
mov ecx, edi
push eax
push 0
add edx, esi
call fcn.004fd5b0
mov edx, dword [ebp - 0xc]
add esp, 0x24
mov ecx, dword [ebp - 0x10]
add edx, 0x4e
inc ecx
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 2
jb 0x4fe53a
push 0x1ad
imul ecx, ecx, 0xca
mov eax, 3
cmp byte [ebp - 1], 2
mov dword [ebp - 0x30], 0
cmove eax, dword [ebp - 0x30]
push eax
push dword [esi + 0xa41c]
movzx eax, byte [ebp - 1]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [ebp - 8]
add eax, 5
cmp byte [ebp - 1], 2
cmovbe eax, dword [ebp - 8]
push eax
movzx eax, byte [ecx + esi + 0x710]
push edx
push eax
push 0
jmp 0x4fe528
mov al, byte [esi + 4]
cmp al, 0x20
jne 0x4fe3ac
mov edi, dword [ebp - 8]
lea eax, [esi + 8]
lea edx, [esi + 0x712]
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + 0x648]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x14]
mov eax, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
test edx, edx
je 0x4fdce7
mov dword [ebp - 0x28], eax
xor eax, eax
jmp 0x4fdcf3
xor eax, eax
test ecx, ecx
mov ecx, 5
cmove eax, ecx
mov edx, dword [ebp - 0xc]
push eax
push 0
push ecx
push 0xffffffffffffffff
push 0x20
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push edi
call fcn.004fd3b0
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0xa]
mov ecx, dword [ebp - 0x1c]
lea edi, [eax + 0xe]
add esp, 0x24
test edx, edx
cmove edi, eax
lea eax, [ecx - 1]
mov dword [ebp - 0x2c], edi
test al, 1
jne 0x4fdd3d
mov eax, edi
test ecx, ecx
jle 0x4fdd3d
lea edi, [eax + 6]
test edx, edx
jne 0x4fdd3d
add edi, 0x1a
mov eax, dword [ebp - 0x24]
inc ecx
add dword [ebp - 0x10], 8
add eax, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
cmp ecx, 8
jl 0x4fdcd5
mov esi, dword [ebx + 8]
mov edi, dword [ebp - 8]
movzx eax, byte [esi + 4]
lea edx, [esi + 0x752]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
add eax, 0x270
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ecx
mov eax, edx
lea ecx, [esi + 0x688]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
nop dword [eax]
mov dword [ebp - 0x28], 0
test edx, edx
je 0x4fdda2
mov dword [ebp - 0x28], eax
xor eax, eax
jmp 0x4fddae
xor eax, eax
test ecx, ecx
mov ecx, 5
cmove eax, ecx
mov edx, dword [ebp - 0x2c]
push eax
push 0
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x30]
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push edi
call fcn.004fd3b0
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0xa]
mov ecx, dword [ebp - 0x1c]
lea edi, [eax + 0xe]
add esp, 0x24
test edx, edx
cmove edi, eax
lea eax, [ecx - 1]
mov dword [ebp - 0x28], edi
test al, 1
jne 0x4fddf9
mov eax, edi
test ecx, ecx
jle 0x4fddf9
lea edi, [eax + 6]
test edx, edx
jne 0x4fddf9
add edi, 0x1a
mov eax, dword [ebp - 0x24]
inc ecx
add dword [ebp - 0x10], 8
add eax, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
cmp ecx, 8
jl 0x4fdd90
mov esi, dword [ebx + 8]
mov edx, 0x1a
mov eax, dword [ebp - 8]
add eax, 0xd
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
movzx ecx, byte [esi + 4]
lea edi, [esi + 0x7dc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, 0x4e
mov dword [ebp - 0x34], ecx
lea ecx, [esi + 0x8a6]
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x2c]
test ecx, ecx
mov eax, 0x34
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x14]
cmovne eax, edx
xor edx, edx
mov dword [ebp - 0x38], eax
test ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, 5
mov dword [ebp - 0x1c], edx
cmovne eax, edx
mov dword [ebp - 0x3c], eax
mov eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0
test ecx, ecx
je 0x4fde84
mov dword [ebp - 0x2c], eax
xor eax, eax
jmp 0x4fde90
xor eax, eax
mov ecx, 5
test edx, edx
cmove eax, ecx
mov edx, dword [ebp - 0x30]
push eax
push 0
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x34]
mov ecx, edi
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
push esi
call fcn.004fd3b0
add esp, 0x24
cmp dword [ebp - 0x10], 0
jne 0x4fdebe
mov edx, dword [ebp - 0x1c]
test dl, 1
jne 0x4fded9
mov eax, dword [ebp - 0x3c]
mov ecx, edi
mov edx, dword [ebp - 0x30]
add eax, esi
push 1
push dword [ebp - 0x38]
push eax
call fcn.004fd470
mov edx, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 0x10], 0
lea eax, [esi + 0xa]
lea esi, [eax + 0xe]
cmove esi, eax
lea eax, [edx - 1]
test al, 1
mov ecx, esi
mov eax, dword [ebp - 0x10]
jne 0x4fdf00
test edx, edx
jle 0x4fdf00
lea ecx, [esi + 6]
test eax, eax
jne 0x4fdf00
add ecx, 0x4e
add dword [ebp - 0x24], 8
lea esi, [ecx + 0x1c]
add dword [ebp - 0x20], 8
inc edx
test eax, eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
cmove esi, ecx
mov ecx, dword [ebp - 0x10]
cmp edx, 4
jl 0x4fde72
mov esi, dword [ebx + 8]
mov edx, 0x1a
movzx eax, byte [esi + 4]
lea ecx, [esi + 0x8c6]
mov dword [ebp - 0x38], eax
lea edi, [esi + 0x7fc]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x3c]
add eax, 0x222
mov dword [ebp - 0x2c], eax
test ecx, ecx
mov eax, 0x34
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x14]
cmovne eax, edx
xor edx, edx
mov dword [ebp - 0x34], eax
test ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, 5
mov dword [ebp - 0x24], edx
cmovne eax, edx
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
nop
mov dword [ebp - 0x30], 0
test ecx, ecx
je 0x4fdf92
mov dword [ebp - 0x30], eax
xor eax, eax
jmp 0x4fdf9e
xor eax, eax
mov ecx, 5
test edx, edx
cmove eax, ecx
mov edx, dword [ebp - 0x2c]
push eax
push 0
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov ecx, edi
push dword [ebp - 0x18]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push esi
call fcn.004fd3b0
add esp, 0x24
cmp dword [ebp - 0x10], 0
jne 0x4fdfcc
mov edx, dword [ebp - 0x24]
test dl, 1
jne 0x4fdfe7
mov eax, dword [ebp - 0x40]
mov ecx, edi
mov edx, dword [ebp - 0x2c]
add eax, esi
push 0xffffffffffffffff
push dword [ebp - 0x34]
push eax
call fcn.004fd470
mov edx, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 0
lea eax, [esi + 0xa]
lea esi, [eax + 0xe]
cmove esi, eax
lea eax, [edx - 1]
test al, 1
mov ecx, esi
mov eax, dword [ebp - 0x10]
jne 0x4fe00e
test edx, edx
jle 0x4fe00e
lea ecx, [esi + 6]
test eax, eax
jne 0x4fe00e
add ecx, 0x4e
add dword [ebp - 0x1c], 8
lea esi, [ecx + 0x1c]
add dword [ebp - 0x20], 8
inc edx
test eax, eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
cmove esi, ecx
mov ecx, dword [ebp - 0x10]
cmp edx, 4
jl 0x4fdf80
mov eax, dword [ebp - 8]
mov edx, 0x68
mov esi, dword [ebx + 8]
add eax, 0x1a
mov dword [ebp - 0x40], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [esi + 4]
add eax, 0x9c
mov dword [ebp - 0x3c], ecx
mov ecx, 0x34
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xa3a]
test eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
cmove ecx, edx
xor edx, edx
mov dword [ebp - 0x38], ecx
test eax, eax
mov ecx, 5
cmovne ecx, edx
lea edx, [esi + 0x970]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
xor edx, edx
test eax, eax
je 0x4fe09d
mov edx, dword [ebp - 0x1c]
xor eax, eax
jmp 0x4fe0a9
xor eax, eax
test ecx, ecx
mov ecx, 5
cmove eax, ecx
push eax
push 0
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp - 0x18]
push edx
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push esi
call fcn.004fd3b0
add esp, 0x24
cmp dword [ebp - 0x14], 0
jne 0x4fe0d5
mov ecx, dword [ebp - 0x24]
test cl, 1
jne 0x4fe0f0
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov edx, dword [ebp - 0x30]
add eax, esi
push 1
push dword [ebp - 0x38]
push eax
call fcn.004fd470
mov ecx, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x14], 0
lea eax, [esi + 0xa]
lea edx, [eax + 0xe]
cmove edx, eax
lea eax, [ecx - 1]
mov dword [ebp - 0x40], edx
test al, 1
jne 0x4fe112
mov eax, edx
test ecx, ecx
jle 0x4fe115
lea eax, [edx + 6]
jmp 0x4fe115
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x20], 8
lea esi, [eax + 0x56]
add dword [ebp - 0x1c], 8
inc ecx
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
cmove esi, eax
mov eax, dword [ebp - 0x14]
cmp ecx, 2
jl 0x4fe090
mov esi, dword [ebx + 8]
mov ecx, 0x68
mov edx, 0x34
movzx eax, byte [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
add eax, 0x1d4
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xa4a]
test eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
cmove edx, ecx
mov ecx, 5
mov dword [ebp - 0x38], edx
xor edx, edx
test eax, eax
cmovne ecx, edx
lea edx, [esi + 0x980]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
xor edx, edx
test eax, eax
je 0x4fe19d
mov edx, dword [ebp - 0x1c]
xor eax, eax
jmp 0x4fe1a9
xor eax, eax
test ecx, ecx
mov ecx, 5
cmove eax, ecx
push eax
push 0
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x3c]
mov ecx, edi
push dword [ebp - 0x18]
push edx
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push esi
call fcn.004fd3b0
add esp, 0x24
cmp dword [ebp - 0x14], 0
jne 0x4fe1d5
mov ecx, dword [ebp - 0x24]
test cl, 1
jne 0x4fe1f0
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov edx, dword [ebp - 0x30]
add eax, esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
push eax
call fcn.004fd470
mov ecx, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x14], 0
lea eax, [esi + 0xa]
lea edx, [eax + 0xe]
cmove edx, eax
lea eax, [ecx - 1]
mov dword [ebp - 0x40], edx
test al, 1
jne 0x4fe212
mov eax, edx
test ecx, ecx
jle 0x4fe215
lea eax, [edx + 6]
jmp 0x4fe215
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x20], 8
lea esi, [eax + 0x56]
add dword [ebp - 0x1c], 8
inc ecx
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x24], ecx
cmove esi, eax
mov eax, dword [ebp - 0x14]
cmp ecx, 2
jl 0x4fe190
mov esi, dword [ebx + 8]
mov edx, 0x68
mov ecx, dword [ebp - 8]
add ecx, 0x37
mov dword [ebp - 8], ecx
movzx eax, byte [esi + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
add eax, 0xea
mov dword [ebp - 0x30], eax
lea eax, [esi + 0xbce]
test eax, eax
cmove edx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], edx
xor edx, edx
test eax, eax
je 0x4fe275
mov edx, eax
xor eax, eax
jmp 0x4fe27a
mov eax, 5
push eax
push 0x1ac
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x40]
lea eax, [esi + 8]
push eax
push edx
mov edx, dword [ebp - 0x30]
lea eax, [esi + 0xb04]
push eax
push ecx
mov ecx, edi
call fcn.004fd3b0
mov edx, dword [ebp - 0x30]
add esp, 0x24
mov ecx, edi
push 1
push dword [ebp - 0x3c]
push dword [ebp - 8]
call fcn.004fd470
movzx eax, byte [esi + 4]
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov ecx, 0x68
mov dword [ebp - 0x40], eax
add edx, 0x186
lea eax, [esi + 0xbd6]
mov dword [ebp - 0x38], edx
test eax, eax
cmove ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
test eax, eax
je 0x4fe2e8
mov ecx, eax
xor eax, eax
jmp 0x4fe2ed
mov eax, 5
push eax
push 0x1ac
push ecx
push 0xffffffffffffffff
push dword [ebp - 0x40]
lea eax, [esi + 8]
push eax
push ecx
lea eax, [esi + 0xb0c]
mov ecx, edi
push eax
push dword [ebp - 8]
call fcn.004fd3b0
mov edx, dword [ebp - 0x38]
add esp, 0x24
mov ecx, edi
push 0xffffffffffffffff
push dword [ebp - 0x3c]
push dword [ebp - 8]
call fcn.004fd470
movzx eax, byte [esi + 4]
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov ecx, 0x68
mov dword [ebp - 0x40], eax
add edx, 0x138
lea eax, [esi + 0xd62]
mov dword [ebp - 0x38], edx
test eax, eax
cmove ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
test eax, eax
je 0x4fe35a
mov ecx, eax
xor eax, eax
jmp 0x4fe35f
mov eax, 5
push eax
push 0x1ad
push ecx
push dword [esi + 0xa41c]
lea eax, [esi + 8]
push dword [ebp - 0x40]
push eax
push ecx
lea eax, [esi + 0xc98]
mov ecx, edi
mov esi, dword [ebp - 8]
push eax
push esi
call fcn.004fd3b0
mov edx, dword [ebp - 0x38]
add esp, 0x24
mov ecx, edi
push 2
push dword [ebp - 0x3c]
push esi
call fcn.004fd470
add esp, 0xc
mov ecx, edi
call fcn.004e3850
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 0x18], ecx
cmp al, 0x10
jne 0x4fe3f3
push 0
push 0
push 0xffffffffffffffff
push 0x10
lea eax, [esi + 8]
mov ecx, edi
push eax
push dword [ebp - 8]
movzx eax, byte [esi + 0x710]
push edx
push eax
lea eax, [esi + 0x712]
push eax
lea edx, [esi + 0x648]
call fcn.004fd5b0
mov edx, dword [ebp - 0xc]
add esp, 0x24
add edx, 0x4e
mov ecx, 2
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 8
jb 0x4fe469
mov eax, dword [ebp - 8]
add eax, 0xc
cmp byte [ebp - 1], 8
push 0
cmovbe eax, dword [ebp - 8]
mov dword [ebp - 8], eax
xor eax, eax
imul ecx, ecx, 0xca
cmp byte [ebp - 1], 8
setne al
push eax
movzx eax, byte [ebp - 1]
push 0xffffffffffffffff
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 8]
movzx eax, byte [ecx + esi + 0x710]
push edx
push eax
lea eax, [esi + 0x712]
add eax, ecx
lea edx, [ecx + 0x648]
push eax
add edx, esi
mov ecx, edi
call fcn.004fd5b0
mov edx, dword [ebp - 0xc]
add esp, 0x24
mov ecx, dword [ebp - 0x18]
add edx, 0x4e
add ecx, 2
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 4
jb 0x4fe4d8
mov eax, dword [ebp - 8]
add eax, 0x1a
cmp byte [ebp - 1], 4
push 0x1ac
cmovbe eax, dword [ebp - 8]
mov dword [ebp - 8], eax
xor eax, eax
imul ecx, ecx, 0xca
cmp byte [ebp - 1], 4
setne al
push eax
movzx eax, byte [ebp - 1]
push 0xffffffffffffffff
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 8]
movzx eax, byte [ecx + esi + 0x710]
push edx
push eax
lea eax, [esi + 0x712]
add eax, ecx
lea edx, [ecx + 0x648]
push eax
add edx, esi
mov ecx, edi
call fcn.004fd5b0
mov edx, dword [ebp - 0xc]
add esp, 0x24
mov ecx, dword [ebp - 0x18]
add edx, 0x4e
add ecx, 2
mov al, byte [esi + 4]
mov byte [ebp - 1], al
cmp al, 2
jb 0x4fe53a
xor eax, eax
imul ecx, ecx, 0xca
cmp byte [ebp - 1], 2
push 0x1ad
setne al
push eax
push dword [esi + 0xa41c]
movzx eax, byte [ebp - 1]
push eax
lea eax, [esi + 8]
push eax
mov eax, dword [ebp - 8]
add eax, 0x37
cmp byte [ebp - 1], 2
cmovbe eax, dword [ebp - 8]
push eax
movzx eax, byte [ecx + esi + 0x710]
push edx
push eax
lea eax, [esi + 0x712]
add eax, ecx
push eax
lea edx, [ecx + 0x648]
mov ecx, edi
add edx, esi
call fcn.004fd5b0
add esp, 0x24
mov ecx, edi
call fcn.004e3850
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret