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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x51c
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x3c], 0
mov edx, dword [eax]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], eax
cmp dword [edx + 0x10], 0
jbe 0x4b4048
mov eax, dword [ecx + 0x1c]
xor edi, edi
mov esi, dword [ebp + 0xc]
add eax, 0x58
fld qword [0x510980]
mov dword [esp + 0x70], eax
mov eax, esi
shl eax, 4
sub eax, esi
mov dword [esp + 0x28], edi
lea eax, [esp + eax*8 + 0x78]
mov dword [esp + 0x64], eax
mov eax, esi
shl eax, 4
sub eax, esi
xor ecx, ecx
mov dword [esp + 0x44], ecx
lea eax, [esp + eax*8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov ebx, dword [edx + 0x14]
add ebx, ecx
xor ecx, ecx
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4b3dd5
mov ebx, dword [ebx + 0x14]
lea edx, [esp + 0x78]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edx
test ebx, ebx
je 0x4b3dbe
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi + 0x18]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
test eax, eax
jns 0x4b3d58
fadd qword [0x50ac10]
mov eax, ebx
mov dword [esp + 0x14], ebx
imul eax, ecx
mov esi, edx
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fmul st(1)
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x70]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov eax, dword [eax]
lea edi, [eax + ecx*4]
mov ebx, 3
fild dword [edi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul st(1)
call fcn.00416200
mov dword [esi], eax
add edi, 4
add esi, 4
dec ebx
jne 0x4b3d86
dec dword [esp + 0x14]
jne 0x4b3d81
mov ecx, dword [esp + 0x1c]
fstp st(0)
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
inc ecx
add edx, 0x78
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
cmp ecx, eax
jb 0x4b3d31
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [ecx + 0x14], edx
jbe 0x4b4019
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov eax, dword [esp + 0x64]
sub eax, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x74], eax
mov ecx, dword [ecx + 0x1c]
add ecx, ebx
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], ecx
cmp dword [ecx + 0x18], 0
jbe 0x4b3fef
mov ebx, edi
lea edx, [ecx + 0x28]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edx
mov eax, dword [edx - 4]
sub eax, dword [edx - 0xc]
je 0x4b3fc0
mov eax, dword [edx]
sub eax, dword [edx - 8]
je 0x4b3fc0
mov eax, dword [ecx + 0x10]
xor edi, edi
imul eax, dword [ecx + 0x14]
mov dword [esp + 0x40], edi
test eax, eax
je 0x4b3fc0
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edx + 0x10]
add ecx, edx
xor edx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], edx
imul eax, dword [ecx + 0x14]
test eax, eax
je 0x4b3f96
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x74]
shl eax, 3
mov dword [esp + 0x68], eax
mov esi, dword [esi + ebx]
xor ebx, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], ebx
mov edi, dword [ecx + 0x18]
mov ecx, dword [esp + 0x28]
add edi, ebx
mov ebx, dword [edi + 4]
add ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + ecx + 0x18]
sub ecx, dword [edi + 0x1c]
cmp dword [ebp + 0xc], 0
jne 0x4b3ed4
mov eax, esi
cmp ecx, eax
jl 0x4b3ec9
xor eax, eax
mov dword [edi + 0x2c], eax
jmp 0x4b3ef4
sub eax, ecx
mov dword [edi + 0x2c], 0
jmp 0x4b3ef4
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, esi
sub eax, edx
cmp ecx, edx
jl 0x4b3ef0
sub edx, ecx
add eax, edx
mov edx, dword [esp + 0x10]
jns 0x4b3ef4
xor eax, eax
jmp 0x4b3ef4
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
jne 0x4b3f0b
test eax, eax
je 0x4b3f07
lea esi, [eax - 1]
lea esi, [eax + esi*2]
jmp 0x4b3f10
xor esi, esi
jmp 0x4b3f10
lea esi, [ecx + eax*2]
add esi, eax
mov eax, esi
sub eax, ecx
mov dword [ebx], eax
je 0x4b3f63
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x4b3f30
mov eax, dword [edi + 8]
lea ecx, [esi + esi*2]
mov eax, dword [eax + ecx*8 - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [edi]
jmp 0x4b3f53
mov edx, dword [edi + 8]
lea ecx, [eax + eax*2]
lea eax, [esi + esi*2]
mov eax, dword [edx + eax*8 - 0x18]
sub eax, dword [edx + ecx*8 - 0x18]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x2c]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 8]
mov eax, dword [eax + ecx*8 - 0x18]
add eax, dword [edi]
cmp dword [ebp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x10], eax
je 0x4b3f63
mov dword [edi + 0x2c], esi
mov ecx, dword [esp + 0x6c]
inc edx
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x60]
add ebx, 0x34
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x10]
imul eax, dword [ecx + 0x14]
mov dword [esp + 0x48], ebx
cmp edx, eax
mov eax, dword [esp + 0x68]
jb 0x4b3e98
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
inc edi
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 0xc]
add edx, 0x28
mov dword [esp + 0x40], edi
mov eax, dword [ecx + 0x10]
imul eax, dword [ecx + 0x14]
mov dword [esp + 0x30], edx
cmp edi, eax
jb 0x4b3e5a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add edx, 0x24
mov esi, dword [ebp + 0xc]
inc eax
add ebx, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebx
cmp eax, dword [ecx + 0x18]
jb 0x4b3e28
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc edx
mov esi, dword [ebp + 0xc]
add ebx, 0x98
add edi, 0xc
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
cmp edx, dword [ecx + 0x14]
jb 0x4b3e00
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
add edi, 0x34
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
inc edx
mov esi, dword [ebp + 0xc]
add ecx, 0x4c
cmp edx, dword [eax + 0x10]
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], edi
jb 0x4b3d00
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret