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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100daec8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101279d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x10007c56
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
lea eax, [edi + 8]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [edi + 0x48]
mov dword [ebp - 4], 0
mov ecx, 0xc0
mov eax, esi
sub edx, esi
lea esp, [esp]
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x10007cb5
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x10007c80
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 4]
mov dword [edi + 0x4c], ecx
mov edx, dword [esi + 8]
mov dword [edi + 0x50], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0x54], eax
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x58], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x5c], edx
fld qword [esi + 0x18]
fstp qword [edi + 0x60]
fld qword [esi + 0x20]
fstp qword [edi + 0x68]
fld qword [esi + 0x28]
fstp qword [edi + 0x70]
fld qword [esi + 0x30]
fstp qword [edi + 0x78]
mov eax, dword [esi + 0x38]
mov dword [edi + 0x80], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x84], ecx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x88], edx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x8c], eax
movzx ecx, byte [esi + 0x48]
mov byte [edi + 0x90], cl
mov dl, byte [esi + 0x49]
mov byte [edi + 0x91], dl
mov al, byte [esi + 0x4a]
mov byte [edi + 0x92], al
movzx ecx, byte [esi + 0x4b]
mov byte [edi + 0x93], cl
mov edx, dword [esi + 0x4c]
mov dword [edi + 0x94], edx
mov edx, dword [esi + 0x50]
mov eax, dword [edi + 0x98]
sub eax, 0x10
lea ebx, [edx - 0x10]
mov dword [ebp + 0xc], eax
cmp ebx, eax
je 0x10007e06
cmp dword [eax + 0xc], 0
jl 0x10007df6
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x10007df6
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x10007d90
cmp eax, dword [ebx]
jne 0x10007d90
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x10007dcc
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10007daa
call fcn.10007630
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 4]
lea ecx, [ecx + ecx + 2]
push ecx
add ebx, 0x10
push ebx
push ecx
add eax, 0x10
push eax
call fcn.100a6ab1
mov ebx, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [ebp + 0xc]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x10007deb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x10
mov dword [edi + 0x98], ebx
jmp 0x10007e06
mov ecx, dword [edx - 0xc]
push ecx
push edx
lea ecx, [edi + 0x98]
call fcn.10001cd0
fld qword [esi + 0x58]
fstp qword [edi + 0xa0]
fld qword [esi + 0x60]
fstp qword [edi + 0xa8]
fld qword [esi + 0x68]
fstp qword [edi + 0xb0]
fld qword [esi + 0x70]
fstp qword [edi + 0xb8]
mov edx, dword [esi + 0x78]
mov dword [edi + 0xc0], edx
mov al, byte [esi + 0x7c]
mov byte [edi + 0xc4], al
mov cl, byte [esi + 0x7d]
mov byte [edi + 0xc5], cl
mov dl, byte [esi + 0x7e]
mov byte [edi + 0xc6], dl
mov eax, dword [esi + 0x80]
mov edx, dword [ebp + 8]
mov dword [edi + 0xc8], eax
fld qword [esi + 0x88]
fstp qword [edi + 0xd0]
push edx
fld qword [esi + 0x90]
fstp qword [edi + 0xd8]
fld qword [esi + 0x98]
fstp qword [edi + 0xe0]
fld qword [esi + 0xa0]
fstp qword [edi + 0xe8]
fld qword [esi + 0xa8]
fstp qword [edi + 0xf0]
fld qword [esi + 0xb0]
fstp qword [edi + 0xf8]
mov ecx, dword [esi + 0xb8]
mov dword [edi + 0x100], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8