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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1017749c
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 4]
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100c70d0
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0xb8]
call fcn.10001fe0
lea esi, [edi + 0x1008]
mov eax, esi
mov dword [esp + 0x160], ebx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
lea ecx, [eax + 1]
jmp 0x100c7110
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100c7110
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x6c]
call fcn.10001fe0
cmp dword [esp + 0xc4], ebx
mov byte [esp + 0x160], 1
jne 0x100c717f
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jb 0x100c714f
mov eax, dword [esp + 0x68]
push eax
call fcn.10149646
add esp, 4
cmp dword [esp + 0xc8], esi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x100c7178
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.10149646
add esp, 4
xor al, al
jmp 0x100c780e
cmp dword [esp + 0x78], ebx
mov byte [esp + 0x13], bl
je 0x100c71dd
lea edx, [esp + 0x64]
push edx
call fcn.100ec22e
push 0x10185a3c
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.10002a70
push eax
mov byte [esp + 0x174], 2
call fcn.100ec22e
add esp, 0x14
cmp dword [esp + 0x100], 0x10
mov byte [esp + 0x160], 1
jb 0x100c71dd
mov edx, dword [esp + 0xec]
push edx
call fcn.10149646
add esp, 4
mov ecx, dword [edi]
cmp ecx, ebx
je 0x100c744e
cmp ecx, 2
je 0x100c744e
cmp ecx, 1
jne 0x100c77cb
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xb4]
push ecx
mov byte [esp + 0x168], 0xa
call fcn.100ea313
add esp, 8
test al, al
mov eax, dword [esp + 0x38]
je 0x100c742c
cmp eax, ebx
je 0x100c742c
mov ecx, dword [esp + 0x3c]
sub ecx, eax
cmp ecx, 0x14
jne 0x100c742c
call fcn.1002d580
push eax
lea ecx, [esp + 0x30]
call fcn.100010c0
mov edi, dword [esp + 0x14]
lea edx, [edi + 0x3088]
push edx
lea ecx, [esp + 0x18]
call fcn.100010c0
xor eax, eax
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x164], 0xc
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.1000cc20
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 0x10]
lea esi, [edi + 0x30a4]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
lea esp, [esp]
mov edx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], edx
call fcn.1002c650
test al, al
je 0x100c738d
lea ecx, [esp + 0x1c]
call fcn.10065f00
add eax, 4
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x60]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call edx
mov ecx, eax
call fcn.1000c8b0
test al, al
jne 0x100c7328
lea ecx, [esp + 0x1c]
call fcn.100562d0
jmp 0x100c72d0
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 0xd
call fcn.10065f00
add eax, 4
mov eax, dword [eax + 8]
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.10011350
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.1002f2c0
lea ecx, [esp + 0x80]
mov byte [esp + 0x160], 0xc
call fcn.10037160
lea ecx, [esp + 0x104]
call fcn.10003ce0
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x54]
lea esi, [edi + 0x30f0]
push eax
mov ecx, esi
mov byte [esp + 0x168], 0xe
call fcn.100049b0
test al, al
je 0x100c7400
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.100057a0
cmp dword [edi + 0x29f0], ebx
mov byte [esp + 0x13], 1
je 0x100c7400
lea ecx, [esp + 0x50]
call fcn.100062b0
test al, al
jne 0x100c7400
lea ecx, [edi + 0x3118]
call fcn.1007e650
mov ecx, dword [edi + 0x29f0]
lea edx, [esp + 0x50]
push edx
call fcn.10024bb0
lea ecx, [esp + 0x104]
call fcn.10003d40
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
add eax, 4
push eax
call esi
mov ecx, dword [esp + 0x30]
add ecx, 4
push ecx
call esi
mov eax, dword [esp + 0x38]
jmp 0x100c7430
mov edi, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x160], 1
je 0x100c77be
push eax
call fcn.10149646
add esp, 4
jmp 0x100c77be
mov edx, 0xf
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov dword [esp + 0x100], edx
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp ecx, ebx
mov byte [esp + 0x160], 5
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jne 0x100c7527
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0xd8]
call fcn.10001ec0
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [edi + 0x28b8]
call fcn.1005ffc0
mov esi, eax
jmp 0x100c75db
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x168], 6
call fcn.100ea313
mov eax, dword [esp + 0x40]
add esp, 8
cmp eax, ebx
je 0x100c7560
mov ecx, dword [esp + 0x3c]
sub ecx, eax
jne 0x100c7569
call fcn.10149775
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0x68], edx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x28b8
call fcn.1005fe30
mov esi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x160], 5
je 0x100c75d7
push eax
call fcn.10149646
add esp, 4
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x100c76a9
cmp dword [esp + 0xac], 0x10
mov eax, dword [esp + 0x98]
jae 0x100c75fc
lea eax, [esp + 0x98]
mov edx, dword [esp + 0xa8]
push edx
push eax
mov eax, dword [esp + 0x80]
push eax
push ebx
lea ecx, [esp + 0x74]
call fcn.1003a6a0
test eax, eax
jne 0x100c76a9
push 1
push ebx
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.100c5fc0
call fcn.1002d580
lea esi, [eax + 4]
push esi
mov dword [esp + 0x30], 0x1018442c
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [edi + 0x29f0], ebx
mov byte [esp + 0x160], 7
je 0x100c7684
lea ecx, [esp + 0x50]
call fcn.100062b0
test al, al
jne 0x100c7684
lea ecx, [edi + 0x3118]
call fcn.1007e650
mov ecx, dword [edi + 0x29f0]
lea edx, [esp + 0x50]
push edx
call fcn.10024bb0
push 1
lea eax, [esp + 0xd0]
push eax
mov ecx, edi
mov byte [esp + 0x1b], 1
call fcn.100a1c00
push esi
mov byte [esp + 0x164], 5
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call fcn.1002d580
lea edi, [eax + 4]
push edi
mov dword [esp + 0x30], 0x1018442c
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x68]
add esi, 0x2f94
push edx
mov ecx, esi
mov byte [esp + 0x168], 8
call fcn.1009fe00
push 0x10185a3c
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.10002a70
add esp, 0xc
lea edx, [esp + 0xcc]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x168], 9
call fcn.1009fe00
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x100c7731
mov eax, dword [esp + 0x38]
push eax
call fcn.10149646
add esp, 4
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [esp + 0x100], esi
jb 0x100c7751
mov ecx, dword [esp + 0xec]
push ecx
call fcn.10149646
add esp, 4
cmp dword [esp + 0xac], esi
mov edi, 0xf
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x100c7784
mov edx, dword [esp + 0x98]
push edx
call fcn.10149646
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov byte [esp + 0x160], 1
jb 0x100c77ba
mov eax, dword [esp + 0xd0]
push eax
call fcn.10149646
add esp, 4
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x13], bl
je 0x100c77cb
mov ecx, edi
call fcn.100c17d0
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jb 0x100c77e3
mov ecx, dword [esp + 0x68]
push ecx
call fcn.10149646
add esp, 4
cmp dword [esp + 0xc8], esi
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x100c780c
mov edx, dword [esp + 0xb4]
push edx
call fcn.10149646
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10149c5e
mov esp, ebp
pop ebp
ret 4