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

Disassembly:
push 0xffffffffffffffff
push 0x1017727a
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc0]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov edi, ecx
mov ebp, 0xf
push esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.10001ec0
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.10001ec0
cmp dword [esp + 0x70], 0x10
jb 0x100c6064
mov eax, dword [esp + 0x5c]
push eax
call fcn.10149646
add esp, 4
lea ebp, [edi + 0x2a4c]
mov dword [esp + 0x54], ebp
mov edi, edi
push esi
call fcn.100e4bfc
add esp, 4
mov ebx, eax
push 1
push ebx
mov ecx, ebp
call fcn.100a3c20
test al, al
jne 0x100c609f
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
push ebx
mov ecx, ebp
call fcn.100a3c20
test al, al
je 0x100c6070
call fcn.1002d580
mov ebx, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov dword [esp + 0x78], eax
add eax, 4
mov ebp, 0x1018442c
push eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], eax
call ebx
cmp byte [esp + 0xc8], 0
mov byte [esp + 0xb8], 1
je 0x100c61d6
lea eax, [edi + 0x3344]
mov dword [esp + 0x38], eax
add eax, 4
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], eax
call ebx
push esi
lea ecx, [esp + 0x18]
lea ebx, [edi + 0x3360]
push ecx
mov ecx, ebx
mov byte [esp + 0xc0], 2
call fcn.100a44d0
mov ebp, dword [esp + 0x14]
test ebp, ebp
mov edx, dword [ebx + 4]
mov dword [esp + 0x50], edx
je 0x100c611d
cmp ebp, ebx
je 0x100c6122
call fcn.10149775
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x50]
je 0x100c61c3
cmp byte [esp + 0xc4], 0
je 0x100c615b
test ebp, ebp
jne 0x100c6143
call fcn.10149775
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 4]
jne 0x100c6151
call fcn.10149775
mov edx, dword [esp + 0x18]
mov byte [edx + 0x68], 3
jmp 0x100c6189
test ebp, ebp
jne 0x100c6164
call fcn.10149775
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp + 4]
jne 0x100c6172
call fcn.10149775
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x68], 3
jne 0x100c6189
lea ecx, [esp + 0x14]
call fcn.10085840
mov byte [eax + 0x58], 1
mov edx, dword [esp + 0x18]
cmp edx, dword [ebp + 4]
jne 0x100c6197
call fcn.10149775
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
push ecx
push esi
add edx, 0x38
push edx
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.100bcd00
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0xbc], 1
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push esi
lea ecx, [edi + 0x2fc0]
call fcn.1003c8a0
push esi
lea ecx, [esp + 0x18]
lea ebx, [edi + 0x4c]
push ecx
mov ecx, ebx
mov dword [esp + 0x54], ebx
call fcn.100a43a0
mov ebp, dword [esp + 0x14]
test ebp, ebp
mov edx, dword [ebx + 4]
mov dword [esp + 0x38], edx
je 0x100c6209
cmp ebp, ebx
je 0x100c620e
call fcn.10149775
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x38]
je 0x100c675f
xor eax, eax
cmp ebp, eax
jne 0x100c6229
call fcn.10149775
xor eax, eax
cmp ebx, dword [ebp + 4]
jne 0x100c6235
call fcn.10149775
xor eax, eax
cmp dword [ebx + 0x154], eax
je 0x100c6629
cmp ebx, dword [ebp + 4]
jne 0x100c624b
call fcn.10149775
mov ecx, dword [ebx + 0x154]
call fcn.10084ae0
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp ebx, dword [ebp + 4]
mov byte [esp + 0xb8], 3
jne 0x100c6276
call fcn.10149775
mov eax, dword [esp + 0xc8]
mov ecx, dword [ebx + 0x154]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.1009a150
cmp ebx, dword [ebp + 4]
jne 0x100c6298
call fcn.10149775
mov ecx, dword [ebx + 0x154]
lea eax, [esp + 0x58]
push eax
call fcn.10087e00
mov dword [esp + 0x1c], eax
cmp ebx, dword [ebp + 4]
mov byte [esp + 0xb8], 4
jne 0x100c62be
call fcn.10149775
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x48]
push edx
call fcn.10001ec0
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0xb8], 3
jb 0x100c62eb
mov eax, dword [esp + 0x5c]
push eax
call fcn.10149646
add esp, 4
cmp ebx, dword [ebp + 4]
jne 0x100c62f5
call fcn.10149775
mov ecx, dword [ebx + 0x154]
call fcn.10084ae0
test al, al
sete cl
lea edx, [esp + 0x24]
push ecx
push edx
push esi
mov ecx, edi
call fcn.100b6c30
lea eax, [edi + 0xbee]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100c6320
sub eax, edx
je 0x100c6572
cmp ebx, dword [ebp + 4]
jne 0x100c633b
call fcn.10149775
mov ecx, dword [ebx + 0x154]
call fcn.10084ae0
test al, al
je 0x100c6572
lea ecx, [esp + 0x14]
call fcn.10065f00
add eax, 0x140
mov eax, dword [eax + 8]
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, eax
call fcn.100062b0
test al, al
jne 0x100c6572
lea ecx, [esp + 0x14]
call fcn.10065f00
add eax, 0x140
mov eax, dword [eax + 8]
lea ecx, [esp + 0x14]
lea ebp, [eax + 4]
call fcn.10065f00
mov ecx, dword [eax + 0x148]
add eax, 0x140
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
call fcn.10065f00
sub esp, 0x1c
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.100021d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push esi
mov byte [esp + 0xf4], 5
call fcn.100021d0
mov ecx, 0x101b16f9
call fcn.10007530
mov ecx, eax
mov byte [esp + 0xd4], 3
call fcn.10007530
mov edx, dword [ebp]
mov edx, dword [edx + 0x60]
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x1c]
call fcn.10085e40
lea ecx, [esp + 0x14]
call fcn.10065f00
add eax, 0x140
mov eax, dword [eax + 8]
lea ecx, [esp + 0x14]
lea ebp, [eax + 4]
call fcn.10065f00
add eax, 0x140
mov eax, dword [eax + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.10065f00
mov ecx, dword [eax + 0x148]
add eax, 0x140
push 0
push esi
lea edx, [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.10084c10
mov ecx, dword [esp + 0x28]
push eax
call fcn.10085e40
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.10065f00
add eax, 0x3c
push eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call edx
push eax
lea ecx, [edi + 0x28b8]
call fcn.100638a0
lea ecx, [esp + 0x14]
call fcn.10065f00
add eax, 0x140
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0xa4]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call edx
mov ecx, eax
call fcn.100062b0
test al, al
jne 0x100c651c
lea ecx, [esp + 0x14]
call fcn.10065f00
mov ebp, dword [eax + 0x148]
add eax, 0x140
lea ecx, [esp + 0x14]
call fcn.10065f00
add eax, 0x140
mov eax, dword [eax + 8]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0xa4]
push 1
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
lea edx, [esp + 0x3c]
push edx
call eax
push eax
lea ecx, [edi + 0x2990]
call fcn.100d8560
lea ecx, [esp + 0x14]
call fcn.10065f00
sub esp, 0x1c
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.100021d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push esi
mov byte [esp + 0xf4], 6
call fcn.100021d0
mov ecx, 0x101b16f9
call fcn.10007530
mov ecx, eax
mov byte [esp + 0xd4], 3
call fcn.10007530
mov ecx, edi
call fcn.100c17d0
mov ebp, dword [esp + 0x14]
cmp ebx, dword [ebp + 4]
jne 0x100c657c
call fcn.10149775
mov eax, dword [ebx + 0x154]
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x60]
lea ecx, [eax + 4]
lea eax, [esp + 0x7c]
push eax
call edx
cmp ebx, dword [ebp + 4]
jne 0x100c659c
call fcn.10149775
mov ecx, dword [ebx + 0x154]
call fcn.10084ae0
test al, al
jne 0x100c65d1
mov esi, dword [edi + 0x29f0]
test esi, esi
je 0x100c669f
lea ecx, [esp + 0x7c]
call fcn.100062b0
test al, al
jne 0x100c669f
lea eax, [esp + 0x7c]
push eax
jmp 0x100c6615
lea eax, [edi + 0xbee]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100c65e0
sub eax, edx
jne 0x100c669f
mov esi, dword [edi + 0x29f0]
test esi, esi
je 0x100c669f
lea ecx, [esp + 0x7c]
call fcn.100062b0
test al, al
jne 0x100c669f
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.10024bb0
lea ecx, [edi + 0x3118]
call fcn.1007e650
jmp 0x100c669f
cmp ebx, dword [ebp + 4]
jne 0x100c6635
call fcn.10149775
xor eax, eax
cmp dword [ebx + 0x164], eax
je 0x100c66c1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp ebx, dword [ebp + 4]
mov byte [esp + 0xb8], 7
jne 0x100c665f
call fcn.10149775
mov edx, dword [esp + 0xc8]
mov ecx, dword [ebx + 0x164]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.100501b0
cmp ebx, dword [ebp + 4]
jne 0x100c6681
call fcn.10149775
mov ecx, dword [ebx + 0x164]
call fcn.1004d750
test al, al
sete cl
lea edx, [esp + 0x24]
push ecx
push edx
push esi
mov ecx, edi
call fcn.100b6c30
mov eax, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0xb8], 1
je 0x100c674b
push eax
call fcn.10149646
add esp, 4
jmp 0x100c674b
cmp ebx, dword [ebp + 4]
jne 0x100c66cd
call fcn.10149775
xor eax, eax
cmp dword [ebx + 0x174], eax
je 0x100c674b
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 8
call fcn.10065f00
mov ecx, dword [esp + 0xc8]
add eax, 0x160
mov eax, dword [eax + 8]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.100d61c0
lea ecx, [esp + 0x14]
call fcn.10065f00
mov ecx, dword [eax + 0x168]
add eax, 0x160
call fcn.100d13f0
test al, al
sete al
lea ecx, [esp + 0x24]
push eax
push ecx
push esi
mov ecx, edi
call fcn.100b6c30
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 1
call fcn.10037160
mov ecx, dword [esp + 0x4c]
add dword [edi + 0x58], 0xffffffff
push ebx
push ebp
lea edx, [esp + 0x1c]
push edx
call fcn.100b21a0
lea eax, [esp + 0x90]
push eax
call fcn.100e4bfc
mov ecx, dword [esp + 0x58]
add esp, 4
push eax
call fcn.100ab890
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [esp + 0xa8], 0x10
jb 0x100c679e
mov edx, dword [esp + 0x94]
push edx
call fcn.10149646
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.10149c5e
add esp, 0xa8
ret 0xc