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

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x80], ecx
mov ebp, dword [esp + 0xc4]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x90], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x94], eax
mov al, byte [esi + 0x1c]
mov dword [esp + 0x98], ecx
mov cl, byte [esi + 0x1d]
mov dword [esp + 0x9c], edx
mov edx, dword [esi + 0x20]
mov byte [esp + 0xa0], al
mov eax, dword [esi + 0x24]
mov byte [esp + 0xa1], cl
mov ecx, dword [esi + 0x28]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0xac], ecx
mov ecx, dword [esi + 0x34]
mov dword [esp + 0xb0], edx
mov edx, dword [ebp]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x24]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x84], 0x51b5e8
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x13], 0
mov dword [esp + 0x38], 0
cmp dword [esp + 0x38], 5
jae 0x4bcb1b
lea ecx, [esp + 0x5c]
xor bl, bl
call fcn.00495d00
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
push eax
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0xc8]
lea eax, [esp + 0x8c]
push edx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x98]
call fcn.004bc450
test al, al
je 0x4bcb01
fld dword [esp + 0x5c]
fcomp dword [0x5158dc]
fnstsw ax
test ah, 0x41
je 0x4bc82f
mov dword [esp + 0x5c], 0
fld dword [esp + 0x60]
fadd dword [ebp]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
fstp dword [ebp]
fld dword [esp + 0x64]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fld dword [esp + 0x8c]
fsub dword [esp + 0x60]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], edx
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x64]
fstp dword [esp + 0x20]
fld dword [esp + 0x6c]
fmul dword [esp + 0x20]
fld dword [esp + 0x68]
fmul dword [esp + 0x1c]
faddp st(1)
fcom dword [0x5158dc]
fnstsw ax
test ah, 1
je 0x4bc987
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
fmul st(1)
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x1c]
push eax
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fstp st(0)
fld dword [esp + 0x20]
fsub dword [esp + 0x30]
fld dword [esp + 0x24]
fsub dword [esp + 0x34]
fstp dword [esp + 0x24]
fld dword [esi + 0x30]
fsubr dword [0x5158ec]
fst dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x24]
fmul dword [esp + 0x38]
fstp dword [esp + 0x24]
call fcn.00497eb0
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4bc936
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
fld dword [esp + 0x2c]
fmul dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul dword [esp + 0x50]
fstp dword [esp + 0x34]
call fcn.00497eb0
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
fcompp
fnstsw ax
test ah, 1
je 0x4bc989
fld dword [esp + 0x1c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x30]
fstp dword [esp + 0x20]
jmp 0x4bc989
fstp st(0)
fld dword [esp + 0x18]
fmul dword [esp + 0x6c]
fld dword [esp + 0x14]
fmul dword [esp + 0x68]
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x3c], eax
faddp st(1)
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
fcom dword [0x5158dc]
fnstsw ax
test ah, 1
je 0x4bca9c
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
fld st(0)
fmul dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fstp st(0)
fld dword [esp + 0x18]
fsub dword [esp + 0x28]
fld dword [esp + 0x1c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x1c]
fld dword [esi + 0x30]
fsubr dword [0x5158ec]
fstp dword [esp + 0x38]
fmul dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x38]
fstp dword [esp + 0x1c]
call fcn.00497eb0
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4bca4b
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
fld dword [esp + 0x24]
fmul dword [esp + 0x48]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x24]
push edx
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x2c]
call fcn.00497eb0
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fcompp
fnstsw ax
test ah, 1
je 0x4bca9e
fld dword [esp + 0x14]
fsub dword [esp + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fsub dword [esp + 0x28]
fstp dword [esp + 0x18]
jmp 0x4bca9e
fstp st(0)
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x84]
push eax
call fcn.00495ba0
test al, al
je 0x4bcab5
mov bl, 1
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x60]
mov dword [edi], ecx
push edx
lea ecx, [edi + 4]
mov byte [esp + 0x17], 1
call fcn.00496c60
lea eax, [esp + 0x68]
lea ecx, [edi + 0xc]
push eax
call fcn.00496c60
lea ecx, [esp + 0x70]
push ecx
lea ecx, [edi + 0x14]
call fcn.00496c60
lea edx, [esp + 0x78]
lea ecx, [edi + 0x1c]
push edx
call fcn.00496c60
test bl, bl
je 0x4bcb1b
inc dword [esp + 0x38]
jmp 0x4bc7c6
fld dword [esp + 0x8c]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x90]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x38]
cmp eax, 5
mov dword [edi + 0x20], ecx
jne 0x4bcb62
mov edx, dword [esp + 0x50]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x54]
mov ecx, edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], edx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x18