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

Disassembly:
sub esp, 0x94
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x110]
mov esi, dword [eax + 0x764]
call fcn.004ad530
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edx
mov al, byte [ebx + 0x6c9]
test al, al
jne 0x4b5b38
mov al, byte [ebx + 0x6ec]
test al, al
je 0x4b5ad3
mov edx, dword [ebx + 0x6e0]
mov ecx, dword [ebx + 0x6e8]
inc edx
mov eax, edx
mov dword [ebx + 0x6e0], edx
cmp eax, ecx
jl 0x4b5aaf
mov eax, dword [ebx + 0x724]
test eax, eax
je 0x4b5aaf
mov ecx, dword [ebx + 0x728]
push ecx
push ebx
call eax
add esp, 8
mov ecx, dword [ebx + 0x6e4]
mov eax, dword [ebx + 0x6e0]
mov esi, dword [ebx + 0x6e8]
sub eax, ecx
sub esi, ecx
cdq
inc esi
idiv esi
add edx, ecx
mov dword [ebx + 0x6e0], edx
jmp 0x4b5b38
mov esi, dword [ebx + 0x6e0]
mov eax, dword [ebx + 0x6e8]
inc esi
mov ecx, esi
mov dword [ebx + 0x6e0], esi
cmp ecx, eax
jl 0x4b5b38
mov ecx, dword [ebx + 0x148]
test ecx, ecx
jne 0x4b5b10
mov dword [ebx + 0x6e0], eax
mov eax, dword [ebx + 0x724]
test eax, eax
je 0x4b5b38
mov edx, dword [ebx + 0x728]
push edx
push ebx
jmp 0x4b5b33
mov ecx, ebx
call fcn.004ba250
mov esi, eax
mov ecx, ebx
push esi
call fcn.004b9e20
mov eax, dword [ebx + 0x71c]
test eax, eax
je 0x4b5b38
mov ecx, dword [ebx + 0x720]
push ecx
push esi
call eax
add esp, 8
mov edx, dword [ebx + 0x6e0]
mov ecx, ebx
push edx
call fcn.004b7e20
cmp dword [ebx + 0x118], 0xffffffff
jne 0x4b5b5d
mov ecx, ebx
call fcn.004bdd70
mov ecx, ebx
call fcn.004be510
mov al, byte [ebx + 0x6c9]
test al, al
jne 0x4b5b7c
mov ecx, ebx
call fcn.004bda50
mov ecx, ebx
call fcn.004be190
mov ecx, ebx
call fcn.004becd0
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x4b5bba
mov eax, dword [ebx + 0x134]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x138]
cmp esi, eax
je 0x4b5bba
mov ecx, dword [esi]
push 0x3d088880
call fcn.004b5a40
test al, al
je 0x4b5f41
mov esi, dword [esi + 4]
mov eax, dword [ebx + 0x138]
cmp esi, eax
jne 0x4b5b99
mov eax, dword [ebx + 0x178]
push ebp
test eax, eax
push edi
je 0x4b5c14
mov ecx, dword [ebx + 0x170]
mov eax, dword [ebx + 0x174]
lea ebp, [ebx + 0x170]
mov esi, dword [ecx + 4]
cmp esi, eax
je 0x4b5c14
mov edi, dword [esi]
mov ecx, dword [edi]
mov al, byte [ecx + 0x258]
test al, al
je 0x4b5c04
mov eax, esi
mov esi, dword [esi + 4]
push eax
mov ecx, ebp
call fcn.004c6b00
push edi
mov ecx, ebx
call fcn.004bdb80
jmp 0x4b5c0c
call fcn.004c20d0
mov esi, dword [esi + 4]
cmp esi, dword [ebx + 0x174]
jne 0x4b5bdf
mov eax, dword [ebx + 0x184]
test eax, eax
je 0x4b5f34
mov edx, dword [ebx + 0x17c]
mov eax, dword [ebx + 0x180]
mov ecx, dword [edx + 4]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x4b5f34
mov edi, dword [esp + 0x8c]
jmp 0x4b5c4a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x108]
test esi, esi
mov dword [esp + 0x88], esi
je 0x4b5f1f
cmp dword [esi + 0x144], 1
jne 0x4b5f1f
mov ebp, dword [eax + 0x104]
test ebp, ebp
je 0x4b5f1f
mov ecx, dword [ebp + 0x12c]
test ecx, ecx
je 0x4b5eaf
call fcn.004adff0
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x30]
fmul dword [ebp + 0x144]
fld dword [esp + 0x50]
fmul dword [ebp + 0x14c]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [ebp + 0x148]
faddp st(1)
fadd dword [esp + 0x60]
fld dword [esp + 0x34]
fmul dword [ebp + 0x144]
fld dword [esp + 0x54]
fmul dword [ebp + 0x14c]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [ebp + 0x148]
faddp st(1)
fadd dword [esp + 0x64]
fstp dword [esp + 0x1c]
fld dword [esp + 0x38]
fmul dword [ebp + 0x144]
fld dword [esp + 0x58]
fmul dword [ebp + 0x14c]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [ebp + 0x148]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul dword [ebp + 0x144]
fld dword [esp + 0x5c]
fmul dword [ebp + 0x14c]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [ebp + 0x148]
faddp st(1)
fadd dword [esp + 0x6c]
fdivr dword [0x58d5d4]
fst dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fmul dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x60]
fld dword [esp + 0x64]
fstp dword [esp + 0x9c]
fld dword [esp + 0x68]
fstp dword [esp + 0xa0]
fld dword [esp + 0x50]
fmul dword [ebp + 0x158]
fld dword [esp + 0x40]
fmul dword [ebp + 0x154]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x94], ecx
faddp st(1)
fld dword [esp + 0x30]
fmul dword [ebp + 0x150]
faddp st(1)
fadd dword [esp + 0x60]
fld dword [esp + 0x54]
fmul dword [ebp + 0x158]
fld dword [esp + 0x44]
fmul dword [ebp + 0x154]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [ebp + 0x150]
mov esi, dword [esp + 0x88]
faddp st(1)
fadd dword [esp + 0x64]
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fmul dword [ebp + 0x158]
fld dword [esp + 0x48]
fmul dword [ebp + 0x154]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [ebp + 0x150]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x2c]
fld dword [esp + 0x5c]
fmul dword [ebp + 0x158]
fld dword [esp + 0x4c]
fmul dword [ebp + 0x154]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [ebp + 0x150]
faddp st(1)
fadd dword [esp + 0x6c]
fdivr dword [0x58d5d4]
fst dword [esp + 0x10]
fmulp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x10]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fsub st(1)
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
fstp st(0)
fld dword [esp + 0x28]
fsub dword [esp + 0x9c]
mov dword [esp + 0x70], edx
fstp dword [esp + 0x80]
fld dword [esp + 0x2c]
fsub dword [esp + 0xa0]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x74], eax
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
lea edx, [esi + 0x158]
mov dword [esi + 0x158], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x74]
lea edx, [esi + 0x178]
mov dword [esi + 0x178], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 4], ecx
lea ecx, [ebx + 0x6ac]
mov dword [edx + 8], eax
mov eax, dword [ecx]
lea edx, [esi + 0x164]
mov dword [esi + 0x164], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov ecx, esi
call fcn.0050bd20
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + 0x180]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jne 0x4b5c46
mov ecx, ebx
call fcn.004b8070
pop edi
pop ebp
test al, al
jne 0x4b5f4e
pop esi
xor al, al
pop ebx
add esp, 0x94
ret 4
mov esi, dword [ebx + 0x118]
mov eax, dword [ebx + 0x6e0]
mov ecx, dword [ebx + 0x110]
inc esi
mov byte [ebx + 0x1a4], 0
mov dword [ebx + 0x6dc], eax
mov dword [ebx + 0x118], esi
mov esi, dword [ecx + 0x764]
call fcn.004ad530
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0x1bc]
sub eax, edx
add ecx, eax
mov al, 1
mov dword [esi + 0x1bc], ecx
pop esi
pop ebx
add esp, 0x94
ret 4