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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x10109610]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [edx]
mov dword [esp + 0x34], ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], esi
cmp eax, ebx
jle 0x10081090
add edx, 4
cmp dword [edx], esi
je 0x10081143
inc ecx
add edx, 4
cmp ecx, eax
jl 0x10081080
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov esi, dword [edi + 0x14]
mov edi, dword [edi + 0xc]
lea edx, [edi + edi*4]
lea eax, [esi + edx*8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], esi
cmp esi, eax
jae 0x10081256
mov ebx, dword [ebp + 0x18]
jmp 0x100810c0
fldz
mov eax, 0x100
cmp word [esi + 0x10], ax
jne 0x10081243
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
not eax
and eax, dword [esi + 0x20]
not ecx
and ecx, dword [esi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, ebx
or eax, ecx
jne 0x10081243
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xb8]
mov edx, dword [ecx + 0xbc]
and eax, dword [esp + 0x28]
and edx, dword [esp + 0x2c]
or eax, edx
je 0x10081243
mov edi, dword [ecx + 0x14]
fld st(0)
mov ecx, dword [ecx + 0xc]
fst qword [esp + 0x50]
lea ecx, [ecx + ecx*4]
fxch st(1)
lea eax, [edi + ecx*8]
fst qword [esp + 0x40]
mov dword [esp + 0x3c], eax
cmp edi, eax
jae 0x100811fa
mov edx, 0x200
cmp word [edi + 0x10], dx
jne 0x1008115c
mov ecx, dword [edi + 0xc]
jmp 0x100811a1
mov eax, 1
xor edx, edx
call fcn.100d0040
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x10081098
mov edx, dword [esp + 0x4c]
cmp dword [edi + 8], edx
jne 0x100811ef
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov byte [esp + 0x88], 0x43
mov dword [esp + 0x94], edi
mov dword [esp + 0x8c], 1
lea ecx, [esp + 0x80]
mov eax, dword [ebp + 0x14]
fstp st(1)
mov esi, dword [esp + 0x30]
fstp st(0)
push ebx
push eax
mov eax, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x6c]
call fcn.10081dd0
fld qword [esp + 0x7c]
fadd qword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
add esp, 0xc
fst qword [esp + 0x50]
fld qword [esp + 0x78]
fadd qword [esp + 0x40]
fst qword [esp + 0x40]
fld qword [edx + 0x10]
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x100811fa
mov eax, dword [esp + 0x3c]
add edi, 0x28
cmp edi, eax
jb 0x10081133
cmp dword [ebp + 0x1c], 0
je 0x1008121e
fstp st(1)
sub esp, 8
fstp qword [esp]
call fcn.10080fe0
fld qword [esp + 0x48]
add esp, 8
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0x50]
fxch st(1)
mov ecx, dword [esp + 0x34]
fld qword [ecx + 0x10]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x10081241
fxch st(1)
mov dword [ecx], 0x10000000
fstp qword [ecx + 0x10]
mov dword [ecx + 8], esi
fstp qword [ecx + 0x18]
jmp 0x10081245
fstp st(1)
fstp st(0)
add esi, 0x28
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x5c]
jb 0x100810c0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret