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

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov eax, dword [0xa26f9c]
push ebx
push ebp
shl ecx, 4
push esi
push edi
mov edi, dword [ecx + eax + 0xc]
mov ecx, dword [esp + 0x3c]
shl ecx, 4
xor ebx, ebx
mov dword [esp + 0x10], edi
mov ebp, dword [ecx + eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x4bf642
mov esi, dword [edi + 0x74]
dec esi
imul esi, dword [edi + 0x70]
jmp 0x4bf644
xor esi, esi
push esi
push edi
mov dword [esp + 0x1c], esi
call fcn.004bedf0
add esp, 8
test eax, eax
jne 0x4bf973
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x70]
add eax, 0xfffffffe
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4bf973
mov ebx, dword [ebp + 0x70]
lea edx, [esi + esi*4]
mov dword [esp + 0x1c], ebx
lea eax, [esi + edx*2]
lea edi, [edi + eax*4]
mov dword [esp + 0x38], 0
cmp ebx, 0x41
jge 0x4bf7cc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bf6a2
mov eax, dword [ebp + 0x74]
dec eax
imul eax, ebx
jmp 0x4bf6a4
xor eax, eax
lea esi, [ebx - 1]
xor edx, edx
test esi, esi
jle 0x4bf7ba
lea ecx, [eax + eax*4 + 0x14]
lea eax, [eax + ecx*2 + 4]
lea ecx, [ebp + eax*4]
fld dword [edi + 0x80]
fsub dword [ecx - 0x30]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf7ae
fld dword [edi + 0x84]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf7ae
fld dword [edi + 0x88]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf7ae
fld dword [edi + 0xd8]
fsub dword [ecx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf7ae
fld dword [edi + 0xdc]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf7ae
fld dword [edi + 0xe0]
fsub dword [ecx + 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf7ae
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bf9a2
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bf9a2
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bf9a2
inc edx
add ecx, 0x2c
cmp edx, esi
jl 0x4bf6bd
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
jl 0x4bf688
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], 0x41
jge 0x4bf951
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bf7f3
lea eax, [ebx - 1]
jmp 0x4bf7f5
xor eax, eax
mov edx, dword [esp + 0x28]
xor ebx, ebx
lea ebp, [edx - 1]
test ebp, ebp
jle 0x4bf937
mov esi, dword [esp + 0x1c]
lea edx, [eax + eax*4]
lea ecx, [esi + esi*4]
lea esi, [esi + ecx*2]
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x3c]
shl esi, 2
lea ecx, [edx + ecx*4 + 0x88]
mov edx, dword [esp + 0x1c]
add eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x3c]
lea edx, [edx + eax*4 + 0x88]
fld dword [edi + 0x80]
fsub dword [ecx - 8]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf92a
fld dword [edi + 0x84]
fsub dword [ecx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf92a
fld dword [edi + 0x88]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf92a
fld dword [edi + 0xd8]
fsub dword [edx - 8]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf92a
fld dword [edi + 0xdc]
fsub dword [edx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf92a
fld dword [edi + 0xe0]
fsub dword [edx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bf92a
fld dword [ecx - 8]
fsub dword [edx - 8]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bf9e4
fld dword [ecx - 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bf9e4
fld dword [ecx]
fsub dword [edx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bf9e4
inc ebx
add ecx, esi
add edx, esi
cmp ebx, ebp
jl 0x4bf83b
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
jl 0x4bf7db
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add eax, 2
add edi, 0x58
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4bf680
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
inc ebx
cmp ebx, 2
mov dword [esp + 0x24], ebx
jl 0x4bf634
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4bfa24
mov ebp, dword [esi + 0x70]
dec ebp
jmp 0x4bfa26
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bf9b0
mov ecx, dword [ebp + 0x74]
dec ecx
jmp 0x4bf9b2
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 0x78]
mov edi, dword [edi + eax*4 + 4]
push edi
mov edi, dword [esp + 0x18]
add eax, edi
inc edx
lea edi, [eax + eax*4]
lea eax, [eax + edi*2]
lea eax, [esi + eax*4 + 0xac]
push eax
push ecx
push edx
push ebp
call fcn.004d3be0
jmp 0x4c06c7
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bf9f6
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x70]
dec ecx
jmp 0x4bf9f8
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov esi, dword [edx + 0x78]
mov esi, dword [esi + eax*4 + 4]
push esi
mov esi, dword [esp + 0x18]
add eax, esi
inc ebx
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
lea edx, [edx + eax*4 + 0xac]
push edx
push ecx
push ebx
jmp 0x4c06bd
xor ebp, ebp
push ebp
push esi
mov dword [esp + 0x1c], ebp
call fcn.004beef0
add esp, 8
test eax, eax
jne 0x4bfdc9
mov eax, dword [esi + 0x74]
xor ebx, ebx
add eax, 0xfffffffe
mov dword [esp + 0x20], ebx
test eax, eax
mov dword [esp + 0x30], eax
jle 0x4bfdc9
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x70]
mov dword [esp + 0x1c], eax
jmp 0x4bfa77
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x4bfa77
mov eax, dword [esp + 0x1c]
cmp eax, 0x41
jge 0x4bfbf4
test ecx, ecx
je 0x4bfa91
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x74]
dec ecx
imul ecx, eax
jmp 0x4bfa93
xor ecx, ecx
dec eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4bfbe2
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0x70]
mov eax, esi
imul eax, ebx
add eax, ebp
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + ecx*4 + 0x14]
lea edi, [edi + eax*4 + 0x80]
lea eax, [ecx + edx*2 + 4]
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + eax*4]
fld dword [edi]
fsub dword [ecx - 0x30]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfbc9
fld dword [edi + 4]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfbc9
fld dword [edi + 8]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfbc9
lea eax, [ebx + 2]
imul eax, esi
add eax, ebp
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x10]
fld dword [edx + eax*4 + 0x80]
fsub dword [ecx - 4]
lea edx, [edx + eax*4 + 0x80]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfbc9
fld dword [edx + 4]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfbc9
fld dword [edx + 8]
fsub dword [ecx + 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfbc9
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bfe00
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bfe00
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bfe00
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
add ecx, 0x2c
dec edx
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x4bface
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, 2
mov dword [esp + 0x38], ecx
jl 0x4bfa73
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x74]
mov dword [esp + 0x28], eax
jmp 0x4bfc0b
mov eax, dword [esp + 0x28]
cmp eax, 0x41
jge 0x4bfdb6
test ecx, ecx
je 0x4bfc1f
mov ecx, dword [esp + 0x1c]
dec ecx
jmp 0x4bfc21
xor ecx, ecx
dec eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4bfd9c
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 0x70]
mov eax, ebx
imul eax, dword [esp + 0x20]
add eax, esi
mov esi, dword [esp + 0x3c]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea ebp, [ebp + eax*4 + 0x80]
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
lea edi, [eax + edx*2]
lea edx, [ecx + ecx*4]
shl edi, 2
add eax, ecx
lea edx, [ecx + edx*2]
lea ecx, [eax + eax*4]
lea edx, [esi + edx*4 + 0x88]
lea eax, [eax + ecx*2]
lea ecx, [esi + eax*4 + 0x88]
fld dword [ebp]
fsub dword [edx - 8]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfd82
fld dword [ebp + 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfd82
fld dword [ebp + 8]
fsub dword [edx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfd82
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
add eax, 2
imul eax, ebx
add eax, esi
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x10]
fld dword [esi + eax*4 + 0x80]
fsub dword [ecx - 8]
lea esi, [esi + eax*4 + 0x80]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfd82
fld dword [esi + 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfd82
fld dword [esi + 8]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfd82
fld dword [edx - 8]
fsub dword [ecx - 8]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bfe4e
fld dword [edx - 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bfe4e
fld dword [edx]
fsub dword [ecx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4bfe4e
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
inc eax
add edx, edi
add ecx, edi
dec esi
cmp eax, esi
mov dword [esp + 0x18], eax
jl 0x4bfc80
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
inc ecx
cmp ecx, 2
mov dword [esp + 0x38], ecx
jl 0x4bfc07
mov eax, dword [esp + 0x30]
add ebx, 2
cmp ebx, eax
mov dword [esp + 0x20], ebx
jl 0x4bfa67
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x4bf989
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4bfe92
mov ecx, dword [eax + 0x74]
dec ecx
imul ecx, dword [eax + 0x70]
jmp 0x4bfe94
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bfe12
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x74]
dec edx
jmp 0x4bfe14
xor edx, edx
mov esi, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov eax, dword [esi + 0x7c]
mov eax, dword [eax + ecx*4]
push eax
mov eax, dword [esi + 0x70]
imul eax, ecx
add eax, ebp
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
lea ecx, [esi + eax*4 + 0x80]
mov eax, dword [esp + 0x40]
push ecx
push edx
mov edx, dword [esp + 0x24]
inc edx
push edx
push eax
call fcn.004d3be0
jmp 0x4c06c7
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bfe60
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x70]
dec esi
jmp 0x4bfe62
xor esi, esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc ecx
mov ebp, dword [esp + 0x14]
mov eax, dword [edx + 0x7c]
mov eax, dword [eax + ecx*4]
push eax
mov eax, dword [edx + 0x70]
imul eax, ecx
add eax, ebp
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
lea ecx, [edx + eax*4 + 0x80]
push ecx
push esi
jmp 0x4c06b7
xor ecx, ecx
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004bedf0
add esp, 8
test eax, eax
jne 0x4c01e1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
dec eax
cmp eax, 1
mov dword [esp + 0x20], eax
jle 0x4c01e1
mov edx, dword [esp + 0x14]
lea ecx, [eax*4 + 4]
add eax, edx
mov dword [esp + 0x28], ecx
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x10]
lea edi, [eax + edx*4 + 0x80]
mov ebp, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov ebx, dword [ebp + 0x70]
cmp ebx, 0x41
jge 0x4c001b
test ecx, ecx
je 0x4bff04
mov eax, dword [ebp + 0x74]
dec eax
imul eax, ebx
jmp 0x4bff06
xor eax, eax
lea esi, [ebx - 1]
xor edx, edx
test esi, esi
jle 0x4c000d
lea ecx, [eax + eax*4 + 0x14]
lea eax, [eax + ecx*2 + 4]
lea ecx, [ebp + eax*4]
fld dword [edi]
fsub dword [ecx - 0x30]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfffd
fld dword [edi + 4]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfffd
fld dword [edi + 8]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfffd
fld dword [edi - 0x58]
fsub dword [ecx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfffd
fld dword [edi - 0x54]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfffd
fld dword [edi - 0x50]
fsub dword [ecx + 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4bfffd
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0207
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0207
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0207
inc edx
add ecx, 0x2c
cmp edx, esi
jl 0x4bff1f
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, 2
mov dword [esp + 0x38], ecx
jl 0x4bfeee
xor esi, esi
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x74]
cmp ecx, 0x41
jge 0x4c01bf
test esi, esi
je 0x4c003f
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x70]
dec eax
jmp 0x4c0041
xor eax, eax
dec ecx
mov dword [esp + 0x18], 0
test ecx, ecx
mov dword [esp + 0x30], ecx
jle 0x4c01b1
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 0x70]
lea ecx, [ebx + ebx*4]
lea esi, [ebx + ecx*2]
lea ecx, [eax + eax*4]
shl esi, 2
lea ecx, [eax + ecx*2]
add eax, ebx
lea ebp, [eax + eax*4]
lea ecx, [edx + ecx*4 + 0x88]
lea eax, [eax + ebp*2]
mov ebp, dword [esp + 0x30]
lea edx, [edx + eax*4 + 0x88]
fld dword [edi]
fsub dword [ecx - 8]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c0156
fld dword [edi + 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c0156
fld dword [edi + 8]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c0156
fld dword [edi - 0x58]
fsub dword [edx - 8]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c0156
fld dword [edi - 0x54]
fsub dword [edx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c0156
fld dword [edi - 0x50]
fsub dword [edx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c0156
fld dword [ecx - 8]
fsub dword [edx - 8]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0171
fld dword [ecx - 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0171
fld dword [ecx]
fsub dword [edx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0171
mov eax, dword [esp + 0x18]
add ecx, esi
inc eax
add edx, esi
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x4c0086
mov esi, dword [esp + 0x38]
jmp 0x4c01b1
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4c017c
dec ebx
jmp 0x4c017e
xor ebx, ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx + eax]
mov eax, dword [esp + 0x18]
lea edx, [edi - 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
inc eax
push ebx
push eax
push ecx
call fcn.004d3e10
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4c06ca
inc esi
cmp esi, 2
mov dword [esp + 0x38], esi
jl 0x4c0021
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
sub eax, 2
sub esi, 8
sub edi, 0x58
cmp eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
jg 0x4bfee1
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x4bfde3
xor eax, eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4c0266
mov eax, dword [ecx + 0x70]
dec eax
jmp 0x4c0268
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c0215
mov ecx, dword [ebp + 0x74]
dec ecx
jmp 0x4c0217
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 0x78]
mov edi, dword [edi + eax*4 + 4]
push edi
mov edi, dword [esp + 0x18]
add eax, edi
inc edx
lea edi, [eax + eax*4]
lea eax, [eax + edi*2]
lea eax, [esi + eax*4 + 0x54]
push eax
push ecx
push edx
push ebp
call fcn.004d3be0
mov edx, dword [esp + 0x40]
add esp, 0x14
mov dword [eax + 0x6c], 0
mov ecx, dword [0xa26f9c]
pop edi
pop esi
mov dword [edx + ecx + 0xc], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
xor eax, eax
push eax
push ecx
mov dword [esp + 0x1c], eax
call fcn.004beef0
add esp, 8
test eax, eax
jne 0x4c05f6
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x74]
dec ebp
cmp ebp, 1
jle 0x4c05f6
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x70]
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x38], ebx
cmp esi, 0x41
jge 0x4c042b
test ebx, ebx
je 0x4c02c2
mov ecx, dword [edx + 0x74]
dec ecx
imul ecx, esi
jmp 0x4c02c4
xor ecx, ecx
lea eax, [esi - 1]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4c041d
mov esi, dword [edi + 0x70]
mov ebx, dword [esp + 0x14]
mov eax, esi
imul eax, ebp
add eax, ebx
lea ebx, [eax + eax*4]
lea eax, [eax + ebx*2]
lea ebx, [edi + eax*4 + 0x80]
lea eax, [ecx + ecx*4 + 0x14]
lea ecx, [ecx + eax*2 + 4]
lea ecx, [edx + ecx*4]
fld dword [ebx]
fsub dword [ecx - 0x30]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c03f8
fld dword [ebx + 4]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c03f8
fld dword [ebx + 8]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c03f8
lea eax, [ebp - 2]
mov edx, dword [esp + 0x14]
imul eax, esi
add eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
fld dword [edi + eax*4 + 0x80]
fsub dword [ecx - 4]
lea edx, [edi + eax*4 + 0x80]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c03f8
fld dword [edx + 4]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c03f8
fld dword [edx + 8]
fsub dword [ecx + 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c03f8
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0612
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0612
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c0612
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
add ecx, 0x2c
dec edx
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x4c02fd
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
inc ebx
cmp ebx, 2
mov dword [esp + 0x38], ebx
jl 0x4c02ac
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x28], edx
jmp 0x4c0442
mov edx, dword [esp + 0x28]
cmp edx, 0x41
jge 0x4c05ea
test eax, eax
je 0x4c0458
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
jmp 0x4c045a
xor ecx, ecx
lea eax, [edx - 1]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4c05d8
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ebx, dword [edx + 0x70]
mov eax, ebx
imul eax, ebp
add eax, esi
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x3c]
lea edx, [edx + eax*4 + 0x80]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
lea edx, [eax + eax*4]
lea edi, [eax + edx*2]
lea edx, [ecx + ecx*4]
shl edi, 2
add eax, ecx
lea edx, [ecx + edx*2]
lea ecx, [eax + eax*4]
lea edx, [esi + edx*4 + 0x88]
lea eax, [eax + ecx*2]
lea ecx, [esi + eax*4 + 0x88]
mov esi, dword [esp + 0x20]
fld dword [esi]
fsub dword [edx - 8]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c05be
fld dword [esi + 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c05be
fld dword [esi + 8]
fsub dword [edx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c05be
lea eax, [ebp - 2]
mov esi, dword [esp + 0x14]
imul eax, ebx
add eax, esi
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x10]
fld dword [esi + eax*4 + 0x80]
fsub dword [ecx - 8]
lea esi, [esi + eax*4 + 0x80]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c05be
fld dword [esi + 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c05be
fld dword [esi + 8]
fsub dword [ecx]
fabs
fcomp qword [0x531968]
fnstsw ax
and eax, 0x4100
je 0x4c05be
fld dword [edx - 8]
fsub dword [ecx - 8]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c067d
fld dword [edx - 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c067d
fld dword [edx]
fsub dword [ecx]
fabs
fcomp qword [0x5328d0]
fnstsw ax
test ah, 5
jp 0x4c067d
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
inc eax
add edx, edi
add ecx, edi
dec esi
cmp eax, esi
mov dword [esp + 0x18], eax
jl 0x4c04bd
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
jl 0x4c043e
sub ebp, 2
cmp ebp, 1
jg 0x4c029a
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x4c01f9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c0624
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x74]
dec ecx
jmp 0x4c0626
xor ecx, ecx
mov edx, dword [edi + 0x7c]
dec ebp
mov eax, dword [edx + ebp*4 + 8]
push eax
mov eax, dword [edi + 0x70]
imul eax, ebp
add eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [edi + eax*4 + 0x80]
mov eax, dword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [esp + 0x48]
inc eax
push eax
push ecx
call fcn.004d3be0
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov dword [eax + 0x6c], 0
mov edx, dword [0xa26f9c]
pop edi
pop esi
mov dword [ecx + edx + 0xc], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c068f
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x70]
dec edx
jmp 0x4c0691
xor edx, edx
mov ecx, dword [esp + 0x10]
dec ebp
mov eax, dword [ecx + 0x7c]
mov eax, dword [eax + ebp*4 + 8]
push eax
mov eax, dword [ecx + 0x70]
imul eax, ebp
add eax, dword [esp + 0x18]
lea esi, [eax + eax*4]
lea eax, [eax + esi*2]
lea ecx, [ecx + eax*4 + 0x80]
push ecx
push edx
mov edx, dword [esp + 0x24]
inc edx
push edx
mov eax, dword [esp + 0x4c]
push eax
call fcn.004d3e10
add esp, 0x14
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x6c], 0
mov ecx, dword [0xa26f9c]
pop edi
pop esi
pop ebp
mov dword [edx + ecx + 0xc], eax
mov eax, 1
pop ebx
add esp, 0x24
ret