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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x100172f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1001f050]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
je 0x100062a5
cmp dword [esi + 0x28], ebx
je 0x100062a5
fldz
fcom qword [ebp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x100060e4
fstp qword [ebp + 0xc]
jmp 0x100060e6
fstp st(0)
lea eax, [esi + 0x38]
push eax
mov dword [esp + 0x3c], vtable.CSingleLock.0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x80], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
cmp edi, 2
je 0x10006121
mov edi, 1
mov eax, dword [esi + 0x28]
fld qword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10]
add eax, 0xc
sub esp, 8
fstp qword [esp]
push eax
call edx
push eax
mov eax, dword [esi + 0x2c]
mov ecx, edi
call fcn.100094d0
fstp qword [esp + 0x2c]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10]
add eax, 0xc
push eax
call edx
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esi + 0x24]
cmp ecx, ebx
je 0x10006181
push ecx
mov ebx, edx
call fcn.10008720
cmp eax, 1
jne 0x1000617f
lea edi, [esi - 0xc]
mov esi, dword [esi + 0x24]
call fcn.100062c0
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x30]
add eax, 0xc
push eax
call edx
fld qword [eax + 8]
fld qword [esp + 0x2c]
mov byte [esi + 0x30], bl
fcom qword [0x1001c690]
fnstsw ax
test ah, 0x44
jnp 0x100061f8
mov edx, dword [esp + 0x3c]
fnstcw word [esp + 0x22]
movzx eax, word [esp + 0x22]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x24], eax
push edx
fadd qword [0x1001c698]
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x34], eax
fldcw word [esp + 0x26]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fld qword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x28]
fstp st(1)
mov ecx, dword [eax + 0xc]
fstp st(0)
mov edx, dword [ecx + 0x24]
add eax, 0xc
push eax
call edx
fld qword [ebp + 0xc]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1000627f
fmul qword [0x1001c668]
call fcn.100143f6
mov ecx, dword [esi + 8]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x58], ecx
mov edx, dword [eax + 0x64]
mov dword [eax + 0x5c], edx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x68], ecx
mov eax, 1
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
lea edi, [esi - 0xc]
mov esi, dword [esi + 8]
call fcn.100062c0
lea ecx, [esp + 0x38]
call fcn.10001150
fld qword [ebp + 0xc]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esp + 0x3c]
fstp st(0)
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fld qword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
fld qword [0x1001c690]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10