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

Disassembly:
push 0xffffffffffffffff
push 0x1002f8c4
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x1003c0a0]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003c0a0]
xor eax, esp
push eax
lea eax, [esp + 0x360]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
xor eax, eax
xor ebp, ebp
lea ecx, [esp + 0x244]
mov dword [esp + 0x368], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.10008d80
lea ecx, [esp + 0x6c]
mov byte [esp + 0x368], 1
call fcn.10008d80
lea ecx, [esp + 0x244]
mov byte [esp + 0x368], 2
mov dword [esp + 0x14], ebp
call fcn.100092e0
cmp dword [esp + 0x374], eax
jle 0x1000cc5f
mov dword [esp + 0x374], eax
xor edi, edi
cmp dword [esp + 0x374], ebp
jle 0x1000cddf
mov edi, edi
mov eax, dword [esp + 0x370]
cmp byte [edi + eax], 0
mov dword [esp + 0x1c], ebp
je 0x1000cd98
push edi
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x24c]
call fcn.10009370
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x1000cdcb
test byte [esp + 0x1b4], 0x40
je 0x1000ce7b
lea edx, [esp + 0x188]
push edx
lea ecx, [esp + 0x1c]
call fcn.1000caf0
push 0x10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x380]
mov byte [esp + 0x370], 3
call fcn.10002ea0
mov esi, eax
push 0x10
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x370], 4
call fcn.10002ea0
mov ecx, dword [esi]
xor edx, edx
cmp ecx, ebp
setne dl
cmp edx, ebp
je 0x1000cef6
mov eax, dword [eax]
push ecx
push eax
call fcn.1001cf42
add esp, 8
cmp eax, ebp
mov eax, dword [esp + 0x28]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000cd3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x368], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000cd64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x1000cd70
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x368], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000cd98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], ebp
jne 0x1000cdcb
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x114]
push 4
push ebp
push ebp
push ebp
push edi
push 0x6b
push 3
lea edx, [esp + 0x38]
push edx
call fcn.10009b20
movzx eax, al
cmp eax, ebp
jne 0x1000cdcb
mov dword [esp + 0x14], 1
inc edi
cmp edi, dword [esp + 0x374]
jl 0x1000cc70
cmp dword [esp + 0x14], ebp
jne 0x1000cdfa
mov ecx, dword [esp + 0x20]
push ebp
push 2
call fcn.10008e80
movzx eax, al
cmp eax, ebp
jne 0x1000cdfa
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x368], 1
call fcn.10008e50
lea ecx, [esp + 0x244]
mov byte [esp + 0x368], 0
call fcn.10008e50
mov eax, dword [esp + 0x378]
add eax, 0xfffffff0
mov dword [esp + 0x368], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ce4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x360]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.1001c3c5
add esp, 0x358
ret 0xc
lea ecx, [esp + 0x6c]
xor bl, bl
xor esi, esi
call fcn.10008af0
test eax, eax
jle 0x1000cdc3
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x74]
call fcn.10008b10
test eax, eax
jne 0x1000cedb
cmp dword [esp + 0x34], 1
jne 0x1000cedb
push ebp
push esi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x78]
call fcn.10008ba0
test eax, eax
jne 0x1000cedb
push 0x10
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.1001be6e
add esp, 0xc
test eax, eax
jne 0x1000cedb
mov bl, 1
lea ecx, [esp + 0x6c]
inc esi
call fcn.10008af0
cmp esi, eax
jl 0x1000ce90
test bl, bl
jne 0x1000cd9e
jmp 0x1000cdc3
push 0x80004005
call fcn.10001f30
int3