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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10032f83
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100426ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x100426ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x50]
test esi, esi
je 0x10003adb
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], esi
mov dword [esp + 0x80], 0
cmp dword [edi + 0xac], 3
jne 0x10003b52
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x10003b0a
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
mov dword [edi + 0xc0], 0
cmp byte [edi + 0xb0], 0
mov dword [edi + 0xac], 0
je 0x10003b52
push dword [edi + 0xb8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x10003b52
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], str.cannot_signal_event
call fcn.100190a7
push 0x1003e504
lea eax, [esp + 0x38]
push eax
call fcn.1001bccb
cmp byte [ebp + 8], 0
je 0x10003b5c
push 0
jmp 0x10003b8e
cmp byte [edi + 0xb0], 0
je 0x10003ba5
cmp dword [edi + 0xac], 0
je 0x10003ba5
mov ebx, dword [edi + 0xc0]
test ebx, ebx
je 0x10003b8c
call fcn.1000e4c0
mov esi, dword [ebx]
push edx
push eax
push dword [ebx + 0x1c]
mov ecx, ebx
push dword [ebx + 0x18]
call dword [esi + 0x14]
push 1
push dword [edi + 0xc0]
mov ecx, edi
call fcn.10004270
mov dword [edi + 0xac], 3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10003f2d
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x84]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x10003f2d
cmp byte [edi + 0x6a], 0
je 0x10003be7
cmp byte [edi + 0x6b], 0
je 0x10003f57
test eax, eax
je 0x10003ff7
mov ebx, dword [ecx]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x80], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov esi, eax
lea ecx, [ebx + 4]
cmp esi, 0xffffffff
jne 0x10003c3b
lea eax, [esp + 0x40]
cmp eax, ecx
je 0x10003e4f
push esi
push 0
push ecx
mov ecx, eax
call fcn.10001be0
jmp 0x10003e4f
cmp esi, 0xfffffffb
jne 0x10003c7d
lea eax, [esp + 0x40]
cmp eax, ecx
je 0x10003c54
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10001be0
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x10003c6f
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov dword [edi + 0x8c], 0
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x8c], eax
jmp 0x10003e4f
lea eax, [esi - 0x3e9]
cmp eax, 0x3e6
ja 0x10003d08
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x10003ca5
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov dword [edi + 0x8c], 0
mov ebx, dword [edi + 0x40]
cmp esi, 0x3e9
jne 0x10003ce4
push 0x2c
call fcn.10018f98
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 2
test eax, eax
je 0x10003cd4
push ebx
mov ecx, eax
call fcn.10002900
jmp 0x10003cd6
xor eax, eax
mov byte [esp + 0x80], 1
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x8c]
add eax, 8
lea ecx, [esp + 0x40]
cmp ecx, eax
je 0x10003e4f
push 0xffffffffffffffff
push 0
push eax
call fcn.10001be0
jmp 0x10003e4f
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.10001360
test al, al
jne 0x10003dcd
lea eax, [esp + 0x40]
push eax
mov edx, str.ERROR_AT:
lea ecx, [esp + 0x5c]
call fcn.10005b60
add esp, 4
mov byte [esp + 0x80], 3
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x3c]
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], 0x10
jb 0x10003d6b
push dword [esp + 0x58]
call fcn.10018f48
add esp, 4
mov eax, dword [edi + 0x84]
sub eax, dword [edi + 0x80]
sar eax, 2
test eax, eax
je 0x10003ef9
mov esi, dword [edi + 0x80]
cmp esi, dword [edi + 0x84]
je 0x10003ef9
cmp byte [edi + 0x7c], 0
je 0x10003da8
cmp dword [esi], 0
je 0x10003da8
mov eax, dword [edi + 0x78]
push esi
lea ecx, [edi + 0x78]
call dword [eax]
mov eax, dword [edi + 0x84]
lea ecx, [esi + 4]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push esi
call fcn.100187a0
add esp, 0xc
add dword [edi + 0x84], 0xfffffffc
jmp 0x10003ef9
lea eax, [esi + 4]
cmp eax, 2
jbe 0x10003de3
mov eax, dword [edi]
push esi
mov eax, dword [eax + 0x44]
mov ecx, edi
call eax
test al, al
je 0x10003e4f
push 0
push 0x100437b4
push 0x10043728
push 0
push ebx
call fcn.10031c55
add esp, 0x14
push dword [edi + 0x40]
mov ebx, eax
push ebx
push esi
mov ecx, edi
call fcn.10004340
mov dword [edi + 0xc0], eax
test eax, eax
je 0x10003fe0
mov ecx, dword [edi + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0xc0]
push ebx
mov eax, dword [ecx]
call dword [eax]
mov ebx, dword [edi + 0xc0]
test ebx, ebx
je 0x10003e45
call fcn.1000e4c0
mov esi, dword [ebx]
push edx
push eax
mov ecx, ebx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
call dword [esi + 0xc]
mov dword [edi + 0xac], 2
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
cmp dword [esp + 0x54], 0x10
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x40]
cmovae edx, dword [esp + 0x40]
test ecx, ecx
je 0x10003e88
test edx, edx
je 0x10003e88
mov esi, dword [esp + 0x50]
test esi, esi
jle 0x10003e88
mov eax, dword [ecx]
push 0x3e8
push esi
push edx
call dword [eax + 0x14]
cmp byte [edi + 0x6a], 0
je 0x10003e9d
call fcn.1000e4c0
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
mov byte [edi + 0x6b], 0
mov eax, dword [edi + 0x84]
sub eax, dword [edi + 0x80]
sar eax, 2
test eax, eax
je 0x10003ef2
mov esi, dword [edi + 0x80]
cmp esi, dword [edi + 0x84]
je 0x10003ef2
cmp byte [edi + 0x7c], 0
je 0x10003ed2
cmp dword [esi], 0
je 0x10003ed2
mov eax, dword [edi + 0x78]
push esi
lea ecx, [edi + 0x78]
call dword [eax]
mov eax, dword [edi + 0x84]
lea ecx, [esi + 4]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push esi
call fcn.100187a0
add esp, 0xc
add dword [edi + 0x84], 0xfffffffc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov byte [esp + 0x80], 0
cmp dword [esp + 0x54], 0x10
jb 0x10003f14
push dword [esp + 0x40]
call fcn.10018f48
add esp, 4
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x84]
sub eax, ecx
sar eax, 2
test eax, eax
jg 0x10003bd7
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10018784
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x70], 0xffffd8f1
jne 0x10003f66
cmp dword [edi + 0x74], 0xffffffff
je 0x10003f2d
call fcn.1000e4c0
mov esi, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
cmp esi, edx
jg 0x10003f89
jl 0x10003f7b
cmp ecx, eax
jae 0x10003f89
sub eax, ecx
sbb edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x10003f95
sub ecx, eax
sbb esi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
fild qword [esp + 0x14]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fstp qword [esp + 0x24]
movsd xmm1, qword [esp + 0x24]
divsd xmm1, qword [0x1003adf8]
divsd xmm1, qword [0x1003adf8]
comisd xmm1, xmmword [0x1003adf0]
jbe 0x10003f2d
mov byte [edi + 0x6b], 1
mov dword [edi + 0x70], 0xffffd8f1
mov dword [edi + 0x74], 0xffffffff
jmp 0x10003f2d
push 0x1003e4a0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], str.Create_CurSPExecutor_failed_
call fcn.1001bccb
push str.invalid_vector_T__subscript
call fcn.10017f25
int3