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

Disassembly:
push 0xffffffffffffffff
push 0x6a00f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x48]
mov ebp, dword [esi + 8]
mov byte [esp + 0x13], 0
mov dword [esp + 0x44], ebp
call fcn.004800f0
mov edi, dword [esp + 0x88]
mov ecx, esi
push edi
mov dword [esp + 0x84], 0
call fcn.00480270
test al, al
je 0x4807bc
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00480170
mov al, 1
jmp 0x480a33
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.0046ede0
lea ecx, [esp + 0x34]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.0046ede0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x480a1d
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp ecx, ebx
jg 0x480a1d
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jl 0x480a1d
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jg 0x480a1d
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4808bd
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4808bd
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x4808bd
sub ecx, ebx
cmp ecx, 5
jge 0x4808bd
push 0x3e8
mov ecx, esi
call fcn.00480320
fstp dword [esp + 0x88]
push 0x3e8
mov ecx, edi
call fcn.00480320
fsubr dword [esp + 0x88]
fabs
fcomp qword [0x6cb4f8]
fnstsw ax
test ah, 1
je 0x4808bd
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00480170
mov al, 1
jmp 0x480a33
push edi
lea ecx, [esp + 0x4c]
call fcn.00480230
push 5
lea ecx, [esp + 0x4c]
call fcn.004803d0
lea edi, [ebp*4]
push edi
call fcn.00658ea0
mov ebx, eax
push edi
mov dword [esp + 0x44], ebx
call fcn.00658ea0
mov edi, eax
add esp, 8
xor eax, eax
mov dword [esp + 0x40], edi
test ebp, ebp
jle 0x48092b
mov ecx, ebx
sub ecx, edi
mov dword [esp + 0x88], ecx
mov edx, dword [esi + 0xc]
lea ecx, [edi + eax*4]
mov edx, dword [edx + eax*4]
inc eax
cmp eax, ebp
fild dword [edx]
mov edx, dword [esp + 0x88]
fstp dword [edx + ecx]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + eax*4 - 4]
fild dword [edx + 4]
fstp dword [ecx]
jl 0x480905
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
mov dword [esp + 0x88], esi
jle 0x4809f4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
push esi
lea ecx, [esp + 0x54]
call fcn.0046ed50
fild dword [esp + 0x24]
push ebp
push edi
push ebx
push ecx
fstp dword [esp]
fild dword [esp + 0x38]
push ecx
fstp dword [esp]
call fcn.004aebf0
add esp, 0x14
mov byte [esp + 0x13], al
test al, al
jne 0x4809e0
lea ecx, [ebp - 1]
test ecx, ecx
jle 0x4809dc
mov ebp, edi
lea esi, [ebx + 4]
sub ebp, ebx
mov ebx, ecx
mov edx, dword [esi + ebp]
mov eax, dword [esi]
mov ecx, dword [edi]
push 0
fild dword [esp + 0x28]
push 0x3f800000
push edx
mov edx, dword [esi - 4]
push eax
push ecx
push edx
push ecx
fstp dword [esp]
fild dword [esp + 0x44]
push ecx
fstp dword [esp]
call fcn.004aea90
mov cl, byte [esp + 0x33]
add esp, 0x20
or cl, al
add esi, 4
add edi, 4
dec ebx
mov byte [esp + 0x13], cl
jne 0x480987
mov esi, dword [esp + 0x88]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov al, cl
test al, al
je 0x4809f4
mov eax, dword [esp + 0x50]
inc esi
cmp esi, eax
mov dword [esp + 0x88], esi
jl 0x480940
push ebx
call fcn.00658bf0
push edi
call fcn.00658bf0
add esp, 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00480170
mov al, byte [esp + 0x13]
jmp 0x480a33
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00480170
xor al, al
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4