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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51aaed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov al, byte [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
test al, al
mov dword [esp + 0x48], edi
je 0x4bed03
mov ecx, dword [ebp + 0x10]
fld qword [ecx + 0x60]
fmul qword [0x520168]
fstp qword [esp + 0xc]
fld qword [ecx + 0x60]
fmul qword [0x5282c0]
fstp qword [esp + 0x4c]
jmp 0x4bed2d
mov eax, dword [ebp + 0x10]
mov ecx, eax
fld qword [eax + 0x60]
fld qword [esi + 0x60]
fmul qword [esi + 0x28]
fsubr st(1)
fmul qword [0x520170]
fstp qword [esp + 0x4c]
fstp st(0)
fld qword [esp + 0x4c]
fmul qword [0x5296c0]
fstp qword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x14], 0x5294c8
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x14]
push eax
mov dword [esp + 0x164], eax
mov ecx, dword [ecx]
call fcn.0040a240
mov ecx, eax
call fcn.00493a90
fptan
mov ebx, dword [edi + 0x80]
dec ebx
fstp st(0)
fabs
fstp qword [esp + 0x3c]
fld qword [esi + 0x58]
fld qword [esp + 0x4c]
fadd qword [esp + 0xc]
fdiv qword [esp + 0x3c]
fmul qword [0x520168]
fsubr st(1)
fstp qword [esp + 0x54]
fstp st(0)
fld qword [0x520dc0]
js 0x4bedfe
mov edx, dword [edi + 0x7c]
mov ecx, dword [edx + ebx*4]
mov dword [ecx + 0x78], 1
fld qword [esi + 0x58]
fadd st(0), st(0)
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x4bedfb
fld qword [ecx + 0x58]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x4bedfb
fld qword [ecx + 0x60]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4bedfb
fld qword [ecx + 0x60]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x4bedfb
fld qword [ecx + 0x58]
mov eax, dword [esp + 0x1c]
push ecx
fadd st(1)
push eax
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x64]
fstp st(0)
call fcn.00431490
fld qword [esp + 0x5c]
dec ebx
jns 0x4bed96
mov eax, dword [esp + 0x1c]
mov ebx, 2
cmp eax, ebx
fstp st(0)
jge 0x4bee2b
mov dword [esp + 0x14], 0x5294c8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], 1
test eax, eax
jmp 0x4bef65
lea ecx, [esp + 0x68]
call fcn.004da940
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0x4be2f0
push 4
push ecx
push edx
mov byte [esp + 0x170], bl
nop
call fcn.006090d6
mov eax, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0xf0]
push 0xffffffffffffffff
push eax
call fcn.004de680
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xf4]
xor ebx, ebx
cmp edx, ebx
je 0x4bee8c
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4bee7d
xor ebx, ebx
mov al, byte [ebp + 0xc]
test al, al
je 0x4beec5
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0xc], edx
fld qword [ecx + 0x60]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
fmul qword [0x524fc0]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
sub esp, 8
fstp qword [esp]
push eax
push ecx
jmp 0x4beef9
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
fld qword [edx + 0x60]
fld qword [esi + 0x60]
fmul qword [esi + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x10]
push eax
mov dword [esp + 0x18], ecx
fsubr st(1)
sub esp, 8
fstp qword [esp]
push ecx
push edx
fstp st(0)
lea ecx, [esp + 0x80]
call fcn.004daad0
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax]
push ecx
push 0x40
lea ecx, [esp + 0x70]
call fcn.004b8820
push 0xc8
lea ecx, [esp + 0x6c]
call fcn.004b8ee0
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x120]
add eax, edx
cmp eax, 1
jge 0x4bef89
lea ecx, [esp + 0x68]
mov byte [esp + 0x160], 0
call fcn.004daa00
mov dword [esp + 0x14], 0x5294c8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], 3
cmp eax, ebx
je 0x4bef70
push eax
call fcn.0050b204
add esp, 4
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x104]
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
push eax
push ecx
mov ecx, edi
call fcn.004be6c0
mov dword [esp + 0x28], 0x522d18
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov al, byte [ebp + 0xc]
mov byte [esp + 0x160], 4
test al, al
jne 0x4bf000
mov edx, dword [esi + 0x18]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x30]
call fcn.004de680
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x2c]
mov ebx, edx
dec edx
test ebx, ebx
je 0x4beffe
inc edx
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4beff1
xor ebx, ebx
mov eax, dword [esp + 0x10c]
mov dword [esi + 0x78], ebx
test eax, eax
jle 0x4bf075
mov eax, dword [esp + 0x108]
push 0xffffffffffffffff
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], 0
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x34]
mov esi, dword [edx + ebx*4]
mov edi, eax
add esi, 0x10
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004de680
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea ecx, [edx + edi*4]
mov edx, eax
dec eax
test edx, edx
je 0x4bf065
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4bf058
mov eax, dword [esp + 0x10c]
inc ebx
cmp ebx, eax
jl 0x4bf00e
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x120]
xor ebx, ebx
test eax, eax
jle 0x4bf0e9
mov eax, dword [esp + 0x11c]
push 0xffffffffffffffff
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], 0
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov esi, dword [edx + ebx*4]
mov edx, dword [esi + 0x18]
add esi, 0x10
mov edi, eax
add eax, edx
push eax
call fcn.004de680
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + edi*4]
test edx, edx
je 0x4bf0d9
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4bf0cc
mov eax, dword [esp + 0x120]
inc ebx
cmp ebx, eax
jl 0x4bf082
mov edi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004be9f0
mov esi, dword [edi + 0x80]
dec esi
js 0x4bf150
mov ebx, dword [0x60d398]
mov ecx, dword [edi + 0x7c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x4bf14d
test ecx, ecx
je 0x4bf127
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x80]
sub eax, esi
dec eax
je 0x4bf147
mov ecx, dword [edi + 0x7c]
shl eax, 2
push eax
lea edx, [ecx + esi*4 + 4]
lea eax, [ecx + esi*4]
push edx
push eax
call ebx
add esp, 0xc
dec dword [edi + 0x80]
dec esi
jns 0x4bf110
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov edi, dword [esi + 8]
lea edx, [edi + ecx]
mov ecx, esi
push edx
call fcn.004de680
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test edx, edx
lea eax, [eax + edi*4]
je 0x4bf18a
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x4bf179
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x522d18
test ecx, ecx
mov byte [esp + 0x160], 5
je 0x4bf1a7
push ecx
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], 0x520384
mov byte [esp + 0x160], 0
call fcn.004daa00
mov dword [esp + 0x14], 0x5294c8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], 6
test eax, eax
je 0x4bf1e4
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14