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

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov eax, dword [0xc0f6cc]
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 0x4d7a12
mov esi, dword [edi + 0x74]
dec esi
imul esi, dword [edi + 0x70]
jmp 0x4d7a14
xor esi, esi
push esi
push edi
mov dword [esp + 0x1c], esi
call fcn.004d71c0
add esp, 8
test eax, eax
jne 0x4d7d43
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x70]
add eax, 0xfffffffe
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4d7d43
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 0x4d7b9c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d7a72
mov eax, dword [ebp + 0x74]
dec eax
imul eax, ebx
jmp 0x4d7a74
xor eax, eax
lea esi, [ebx - 1]
xor edx, edx
test esi, esi
jle 0x4d7b8a
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7b7e
fld dword [edi + 0x84]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7b7e
fld dword [edi + 0x88]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7b7e
fld dword [edi + 0xd8]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7b7e
fld dword [edi + 0xdc]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7b7e
fld dword [edi + 0xe0]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7b7e
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d7d72
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d7d72
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d7d72
inc edx
add ecx, 0x2c
cmp edx, esi
jl 0x4d7a8d
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
jl 0x4d7a58
mov ecx, dword [ebp + 0x74]
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], 0x41
jge 0x4d7d21
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d7bc3
lea eax, [ebx - 1]
jmp 0x4d7bc5
xor eax, eax
mov edx, dword [esp + 0x28]
xor ebx, ebx
lea ebp, [edx - 1]
test ebp, ebp
jle 0x4d7d07
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7cfa
fld dword [edi + 0x84]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7cfa
fld dword [edi + 0x88]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7cfa
fld dword [edi + 0xd8]
fsub dword [edx - 8]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7cfa
fld dword [edi + 0xdc]
fsub dword [edx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7cfa
fld dword [edi + 0xe0]
fsub dword [edx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7cfa
fld dword [ecx - 8]
fsub dword [edx - 8]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d7db4
fld dword [ecx - 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d7db4
fld dword [ecx]
fsub dword [edx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d7db4
inc ebx
add ecx, esi
add edx, esi
cmp ebx, ebp
jl 0x4d7c0b
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 0x4d7bab
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 0x4d7a50
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
inc ebx
cmp ebx, 2
mov dword [esp + 0x24], ebx
jl 0x4d7a04
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4d7df4
mov ebp, dword [esi + 0x70]
dec ebp
jmp 0x4d7df6
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d7d80
mov ecx, dword [ebp + 0x74]
dec ecx
jmp 0x4d7d82
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.004ec3f0
jmp 0x4d8a97
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d7dc6
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x70]
dec ecx
jmp 0x4d7dc8
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 0x4d8a8d
xor ebp, ebp
push ebp
push esi
mov dword [esp + 0x1c], ebp
call fcn.004d72c0
add esp, 8
test eax, eax
jne 0x4d8199
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 0x4d8199
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x70]
mov dword [esp + 0x1c], eax
jmp 0x4d7e47
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x4d7e47
mov eax, dword [esp + 0x1c]
cmp eax, 0x41
jge 0x4d7fc4
test ecx, ecx
je 0x4d7e61
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x74]
dec ecx
imul ecx, eax
jmp 0x4d7e63
xor ecx, ecx
dec eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4d7fb2
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7f99
fld dword [edi + 4]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7f99
fld dword [edi + 8]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7f99
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7f99
fld dword [edx + 4]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7f99
fld dword [edx + 8]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7f99
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d81d0
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d81d0
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d81d0
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 0x4d7e9e
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, 2
mov dword [esp + 0x38], ecx
jl 0x4d7e43
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x74]
mov dword [esp + 0x28], eax
jmp 0x4d7fdb
mov eax, dword [esp + 0x28]
cmp eax, 0x41
jge 0x4d8186
test ecx, ecx
je 0x4d7fef
mov ecx, dword [esp + 0x1c]
dec ecx
jmp 0x4d7ff1
xor ecx, ecx
dec eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4d816c
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8152
fld dword [ebp + 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8152
fld dword [ebp + 8]
fsub dword [edx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8152
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8152
fld dword [esi + 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8152
fld dword [esi + 8]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8152
fld dword [edx - 8]
fsub dword [ecx - 8]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d821e
fld dword [edx - 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d821e
fld dword [edx]
fsub dword [ecx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d821e
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 0x4d8050
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 0x4d7fd7
mov eax, dword [esp + 0x30]
add ebx, 2
cmp ebx, eax
mov dword [esp + 0x20], ebx
jl 0x4d7e37
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x4d7d59
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4d8262
mov ecx, dword [eax + 0x74]
dec ecx
imul ecx, dword [eax + 0x70]
jmp 0x4d8264
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d81e2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x74]
dec edx
jmp 0x4d81e4
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.004ec3f0
jmp 0x4d8a97
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d8230
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x70]
dec esi
jmp 0x4d8232
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 0x4d8a87
xor ecx, ecx
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004d71c0
add esp, 8
test eax, eax
jne 0x4d85b1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x70]
dec eax
cmp eax, 1
mov dword [esp + 0x20], eax
jle 0x4d85b1
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 0x4d83eb
test ecx, ecx
je 0x4d82d4
mov eax, dword [ebp + 0x74]
dec eax
imul eax, ebx
jmp 0x4d82d6
xor eax, eax
lea esi, [ebx - 1]
xor edx, edx
test esi, esi
jle 0x4d83dd
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d83cd
fld dword [edi + 4]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d83cd
fld dword [edi + 8]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d83cd
fld dword [edi - 0x58]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d83cd
fld dword [edi - 0x54]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d83cd
fld dword [edi - 0x50]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d83cd
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d85d7
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d85d7
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d85d7
inc edx
add ecx, 0x2c
cmp edx, esi
jl 0x4d82ef
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, 2
mov dword [esp + 0x38], ecx
jl 0x4d82be
xor esi, esi
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x74]
cmp ecx, 0x41
jge 0x4d858f
test esi, esi
je 0x4d840f
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x70]
dec eax
jmp 0x4d8411
xor eax, eax
dec ecx
mov dword [esp + 0x18], 0
test ecx, ecx
mov dword [esp + 0x30], ecx
jle 0x4d8581
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8526
fld dword [edi + 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8526
fld dword [edi + 8]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8526
fld dword [edi - 0x58]
fsub dword [edx - 8]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8526
fld dword [edi - 0x54]
fsub dword [edx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8526
fld dword [edi - 0x50]
fsub dword [edx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d8526
fld dword [ecx - 8]
fsub dword [edx - 8]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d8541
fld dword [ecx - 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d8541
fld dword [ecx]
fsub dword [edx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d8541
mov eax, dword [esp + 0x18]
add ecx, esi
inc eax
add edx, esi
cmp eax, ebp
mov dword [esp + 0x18], eax
jl 0x4d8456
mov esi, dword [esp + 0x38]
jmp 0x4d8581
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4d854c
dec ebx
jmp 0x4d854e
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.004ec620
add esp, 0x14
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4d8a9a
inc esi
cmp esi, 2
mov dword [esp + 0x38], esi
jl 0x4d83f1
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 0x4d82b1
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x4d81b3
xor eax, eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4d8636
mov eax, dword [ecx + 0x70]
dec eax
jmp 0x4d8638
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d85e5
mov ecx, dword [ebp + 0x74]
dec ecx
jmp 0x4d85e7
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.004ec3f0
mov edx, dword [esp + 0x40]
add esp, 0x14
mov dword [eax + 0x6c], 0
mov ecx, dword [0xc0f6cc]
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.004d72c0
add esp, 8
test eax, eax
jne 0x4d89c6
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x74]
dec ebp
cmp ebp, 1
jle 0x4d89c6
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 0x4d87fb
test ebx, ebx
je 0x4d8692
mov ecx, dword [edx + 0x74]
dec ecx
imul ecx, esi
jmp 0x4d8694
xor ecx, ecx
lea eax, [esi - 1]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4d87ed
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d87c8
fld dword [ebx + 4]
fsub dword [ecx - 0x2c]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d87c8
fld dword [ebx + 8]
fsub dword [ecx - 0x28]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d87c8
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d87c8
fld dword [edx + 4]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d87c8
fld dword [edx + 8]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d87c8
fld dword [ecx - 0x30]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d89e2
fld dword [ecx - 0x2c]
fsub dword [ecx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d89e2
fld dword [ecx - 0x28]
fsub dword [ecx + 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d89e2
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 0x4d86cd
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 0x4d867c
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x28], edx
jmp 0x4d8812
mov edx, dword [esp + 0x28]
cmp edx, 0x41
jge 0x4d89ba
test eax, eax
je 0x4d8828
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
jmp 0x4d882a
xor ecx, ecx
lea eax, [edx - 1]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4d89a8
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d898e
fld dword [esi + 4]
fsub dword [edx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d898e
fld dword [esi + 8]
fsub dword [edx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d898e
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 [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d898e
fld dword [esi + 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d898e
fld dword [esi + 8]
fsub dword [ecx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d898e
fld dword [edx - 8]
fsub dword [ecx - 8]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d8a4d
fld dword [edx - 4]
fsub dword [ecx - 4]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d8a4d
fld dword [edx]
fsub dword [ecx]
fabs
fcomp qword [0x54ff00]
fnstsw ax
test ah, 5
jp 0x4d8a4d
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 0x4d888d
mov eax, dword [esp + 0x38]
inc eax
cmp eax, 2
mov dword [esp + 0x38], eax
jl 0x4d880e
sub ebp, 2
cmp ebp, 1
jg 0x4d866a
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jl 0x4d85c9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4d89f4
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x74]
dec ecx
jmp 0x4d89f6
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.004ec3f0
mov ecx, dword [esp + 0x40]
add esp, 0x14
mov dword [eax + 0x6c], 0
mov edx, dword [0xc0f6cc]
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 0x4d8a5f
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 0x70]
dec edx
jmp 0x4d8a61
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.004ec620
add esp, 0x14
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x6c], 0
mov ecx, dword [0xc0f6cc]
pop edi
pop esi
pop ebp
mov dword [edx + ecx + 0xc], eax
mov eax, 1
pop ebx
add esp, 0x24
ret