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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, esp
mov dword [esi + 0xe8], ebp
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0xf0]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10022dc0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov edx, dword [edx + 0x1c]
lea ecx, [esi + 0x5c]
mov dword [ecx], edx
lock inc dword [edx + 4]
mov dword [esi + 0x44], edx
mov dword [esi + 0x1c], edx
mov dword [eax + 8], 0
push 0x1005edac
call fcn.1001f00e
mov dword [esi + 0x48], eax
mov edx, dword [ebp + 0x1c]
movzx eax, byte [edx + 0xb]
mov ecx, eax
test al, al
jns 0x1001d006
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1001d036
mov ecx, edx
test al, al
jns 0x1001d012
mov ecx, dword [edx]
mov al, byte [ecx]
mov byte [esi + 0xc], al
mov edx, dword [esi + 0x48]
mov eax, dword [edx]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x1c], ecx
mov ecx, edx
push 0x2d
call eax
cmp byte [esi + 0xc], al
sete al
mov dword [esi + 0xc], eax
jmp 0x1001d03d
mov dword [esi + 0xc], 0
lea eax, [esi + 0x60]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
lea edi, [esi + 0x30]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea eax, [esi + 0x20]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov cl, 0xff
lea edx, [esi + 0xb]
mov byte [edx], cl
lea edx, [esi + 0xa]
mov byte [edx], cl
xor ecx, ecx
dec ecx
lea edx, [esi + 0x58]
mov dword [edx], ecx
lea edx, [esi + 0x54]
mov dword [edx], ecx
mov dword [esi + 0xf8], 1
mov cl, byte [ebp + 0x10]
movzx ecx, cl
movzx edx, byte [esi + 0xc]
mov dword [esi + 0x7c], edx
lea ebx, [esi + 0x54]
push ebx
push eax
push edi
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [esi + 0xb]
push eax
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x5c]
push eax
call fcn.1001cb2c
add esp, 0x20
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0xe0], 0xffffffff
mov edi, dword [ebp + 0x1c]
movzx eax, byte [edi + 0xb]
mov ecx, eax
mov dword [esi + 0x14], eax
test al, al
jns 0x1001d103
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x54]
mov eax, ecx
mov dword [esi + 0xc], edx
sub eax, edx
mov dword [esi + 0x10], ecx
jle 0x1001d13f
movzx ecx, byte [esi + 0x2b]
mov ebx, ecx
mov dword [esi + 0x40], ecx
test cl, cl
jns 0x1001d122
mov ebx, dword [esi + 0x24]
movzx edx, byte [esi + 0x3b]
mov ecx, edx
mov dword [esi + 0x3c], edx
test dl, dl
jns 0x1001d132
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0xc]
lea eax, [edx + eax*2]
add eax, ebx
add eax, ecx
inc eax
jmp 0x1001d167
movzx ecx, byte [esi + 0x2b]
mov eax, ecx
mov dword [esi + 0x40], ecx
test cl, cl
jns 0x1001d14f
mov eax, dword [esi + 0x24]
movzx edx, byte [esi + 0x3b]
mov ecx, edx
mov dword [esi + 0x3c], edx
test dl, dl
jns 0x1001d15f
mov ecx, dword [esi + 0x34]
add eax, dword [esi + 0xc]
add eax, ecx
add eax, 2
cmp eax, 0x65
jb 0x1001d196
push eax
call fcn.10035a4c
add esp, 4
mov edx, eax
mov ebx, eax
test eax, eax
mov ecx, dword [ebp + 0x14]
jne 0x1001d1a1
mov dword [esi + 0x18], 0
mov dword [esi + 0xf8], 2
call fcn.10049b81
lea ebx, [esi + 0x80]
xor edx, edx
mov ecx, dword [ebp + 0x14]
xor eax, eax
dec eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
movsx eax, byte [esi + 0xa]
mov dword [esi + 0x78], eax
movsx eax, byte [esi + 0xb]
mov dword [esi + 0x74], eax
cmp byte [esi + 0x14], 0
jns 0x1001d1c0
mov edi, dword [edi]
mov eax, dword [esi + 0x10]
add eax, edi
mov ecx, dword [ecx + 4]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0xf8], 2
mov dword [esi + 0x10], edx
lea edx, [esi + 0x50]
mov dword [esi + 0x70], ebx
mov ecx, ebx
push dword [esi + 0xc]
lea ebx, [esi + 0x20]
push ebx
lea ebx, [esi + 0x30]
push ebx
lea ebx, [esi + 0x60]
push ebx
push dword [esi + 0x78]
push dword [esi + 0x74]
lea ebx, [esi + 0x58]
push ebx
push dword [esi + 0x7c]
push dword [esi + 0x48]
push eax
push edi
push dword [esi + 0x14]
lea eax, [esi + 0x4c]
push eax
call fcn.1001cc32
add esp, 0x34
mov ecx, dword [ebp + 8]
mov al, byte [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x18], ebx
mov ebx, dword [esi + 0x50]
movsx eax, al
push eax
push dword [ebp + 0x14]
push edi
push ebx
push dword [esi + 0x70]
call fcn.10014ae0
add esp, 0x14
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1001d24c
push eax
call fcn.10035a4c
add esp, 4
cmp byte [esi + 0x40], 0
jns 0x1001d25d
push dword [esi + 0x20]
call fcn.10024829
add esp, 4
cmp byte [esi + 0x3c], 0
jns 0x1001d26e
push dword [esi + 0x30]
call fcn.10024829
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x1001d27f
push dword [esi + 0x60]
call fcn.10024829
add esp, 4
mov ecx, dword [esi + 0x44]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1001d293
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0xf0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18