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

Disassembly:
push 0xffffffffffffffff
push 0x1017dcc9
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, ecx
movzx eax, word [edi + 0x30c]
cmp ax, 0x1e
mov dword [esp + 0x18], 0x1e
jb 0x10010baf
movzx ecx, ax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx ecx, ax
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x2a8]
mov esi, dword [eax]
lea ebx, [edi + 0x2a4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
jmp 0x10010bd0
test ebx, ebx
mov ebp, dword [edi + 0x2a8]
lea eax, [edi + 0x2a4]
je 0x10010be4
cmp ebx, eax
je 0x10010be9
call fcn.1015988d
cmp esi, ebp
je 0x10011011
test ebx, ebx
jne 0x10010bfa
call fcn.1015988d
cmp esi, dword [ebx + 4]
jne 0x10010c04
call fcn.1015988d
cmp dword [esi + 0x10], 0
jne 0x10010e23
cmp esi, dword [ebx + 4]
jne 0x10010c18
call fcn.1015988d
cmp word [esi + 0x14], 0x14
jae 0x10010de3
push 0x38
call fcn.1015989d
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0xa4], 0
je 0x10010c49
mov ecx, eax
call fcn.10079dc0
jmp 0x10010c4b
xor eax, eax
push 0x24
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x28], 0x1019a348
mov dword [esp + 0x2c], 0x101996a4
mov dword [esp + 0x30], eax
call fcn.1015989d
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10010c9b
mov dword [ebp], 0x1019969c
lea edx, [ebp + 0xc]
mov dword [ebp + 4], 1
push edx
mov dword [ebp + 8], 0x10199604
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x10010c9d
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], 0x1019a348
mov eax, dword [edi + 0x60]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0x18
lea ecx, [esp + 0x78]
mov dword [esp + 0xb0], 1
call fcn.100d4030
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 3
mov dword [esp + 0x24], 0x1019a348
mov dword [esp + 0x28], 0x101996a4
call fcn.100a8e90
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov byte [esp + 0x16], 0
call eax
push 3
mov ecx, edi
mov ebp, eax
call fcn.100088f0
movzx ecx, ax
push ecx
push 0
push 0x18
push ebp
call fcn.100ed50e
add esp, 0x14
mov byte [esp + 0x58], 0
mov edx, dword [esp + 0x58]
push edx
lea eax, [edi + 0x1fc]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0x50], 0x13014
call fcn.1000c810
cmp esi, dword [ebx + 4]
mov dword [esp + 0x50], 0x13035
jne 0x10010d4c
call fcn.1015988d
mov byte [esp + 0x4c], 0
mov edx, dword [esp + 0x4c]
push edx
lea eax, [esi + 0xc]
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call fcn.1000ca40
cmp dword [esp + 0x6c], 0xf
je 0x10010d7f
push 0
call fcn.1015972a
add esp, 4
cmp eax, dword [edi + 0x300]
jl 0x10010db3
cmp word [edi + 0x2e2], 0
mov eax, dword [esp + 0x7c]
setne cl
mov byte [esp + 0x40], cl
mov edx, dword [esp + 0x40]
movzx ecx, word [edi + 0x2e0]
push edx
mov edx, dword [edi + 0x2dc]
push eax
push ecx
mov ecx, dword [edi]
push edx
mov byte [esp + 0x27], 0
call fcn.1001a120
cmp esi, dword [ebx + 4]
jne 0x10010dbd
call fcn.1015988d
lea ecx, [esp + 0x78]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x74], 0x1019a348
mov dword [esp + 0x78], 0x101996a4
call fcn.100a8e90
jmp 0x10010dfe
cmp esi, dword [ebx + 4]
jne 0x10010ded
call fcn.1015988d
mov dword [esi + 0x10], 2
cmp esi, dword [ebx + 4]
jne 0x10010e08
call fcn.1015988d
cmp esi, dword [ebx + 4]
jne 0x10010e08
call fcn.1015988d
add word [esi + 0x14], 1
lea ecx, [esp + 0x1c]
call fcn.10060e30
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jmp 0x10010bd0
cmp esi, dword [ebx + 4]
jne 0x10010e2d
call fcn.1015988d
cmp dword [esi + 0x10], 1
jne 0x10010ffb
cmp esi, dword [ebx + 4]
jne 0x10010e41
call fcn.1015988d
add word [esi + 0x16], 1
cmp esi, dword [ebx + 4]
jne 0x10010e50
call fcn.1015988d
mov ax, word [esp + 0x18]
cmp word [esi + 0x16], ax
jb 0x10010ffb
cmp esi, dword [ebx + 4]
jne 0x10010e69
call fcn.1015988d
mov dword [esi + 0x10], 0
cmp esi, dword [ebx + 4]
jne 0x10010e7a
call fcn.1015988d
mov word [esi + 0x14], 0
cmp esi, dword [ebx + 4]
jne 0x10010e8a
call fcn.1015988d
push 0x38
mov word [esi + 0x16], 0
call fcn.1015989d
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov dword [esp + 0xa4], 4
je 0x10010eb6
mov ecx, eax
call fcn.10079dc0
jmp 0x10010eb8
xor eax, eax
push 0
mov ebp, 0x1019a348
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0x64], ebp
call fcn.10035880
mov dword [esp + 0x5c], 0x1019a348
mov ecx, dword [edi + 0x60]
push ecx
lea edx, [esp + 0x60]
push edx
push 0x18
lea ecx, [esp + 0x90]
mov dword [esp + 0xb0], 5
call fcn.100d4030
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 7
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0x101996a4
call fcn.100a8e90
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov byte [esp + 0x15], 0
call edx
push 3
mov ecx, edi
mov ebp, eax
call fcn.100088f0
movzx eax, ax
push eax
push 0
push 0x18
push ebp
call fcn.100ed50e
add esp, 0x14
mov byte [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [edi + 0x1fc]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
mov dword [esp + 0x54], 0x13014
call fcn.1000c810
cmp esi, dword [ebx + 4]
mov dword [esp + 0x38], 0x13035
jne 0x10010f85
call fcn.1015988d
mov byte [esp + 0x54], 0
mov ecx, dword [esp + 0x54]
push ecx
lea eax, [esi + 0xc]
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.1000ca40
lea eax, [edi + 0x2b4]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, edi
call fcn.10003aa0
cmp esi, dword [ebx + 4]
jne 0x10010fc9
call fcn.1015988d
cmp esi, dword [ebx + 4]
jne 0x10010fc9
call fcn.1015988d
add word [esi + 0x14], 1
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x8c], 0x1019a348
mov dword [esp + 0x90], 0x101996a4
call fcn.100a8e90
lea ecx, [esp + 0x1c]
call fcn.10060e30
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jmp 0x10010bd0
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4