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

Disassembly:
push 0xffffffffffffffff
push 0x100313c8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003cb10]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x6c], 2
call fcn.10002d70
mov dword [esp + 0x38], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov dword [esp + 0x3c], ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov bl, 3
mov byte [esp + 0x8c], bl
push ebp
lea eax, [esp + 0x98]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebp
push eax
mov byte [ecx + 4], 0
call fcn.100022b0
call fcn.10005cf0
test al, al
je 0x10001e3a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x98]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebp
push edx
mov byte [ecx + 4], 0
call fcn.100022b0
lea eax, [esp + 0x40]
push eax
call fcn.10004fa0
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x74], 4
call fcn.10002050
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x10001c14
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
push edx
call fcn.10003070
mov eax, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.1000a6ea
add esp, 4
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, ebp
je 0x10001c2c
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.10005390
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edi, edi
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x20], ecx
je 0x10001e38
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
test ebx, ebx
je 0x10001d10
mov ecx, ebp
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10001d10
cmp ebx, ebp
mov esi, ebx
jbe 0x10001c92
call fcn.10015c93
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], esi
add esi, edx
cmp esi, ebp
lea eax, [esp + 0x40]
mov edi, eax
ja 0x10001caa
cmp esi, ebx
jae 0x10001caf
call fcn.10015c93
cmp esi, dword [edi + 8]
jb 0x10001cb9
call fcn.10015c93
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x10001cc8
mov esi, dword [esi + 4]
jmp 0x10001ccb
add esi, 4
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x38]
jne 0x10001cda
call fcn.10015c93
cmp dword [edi + 0x28], ebx
jb 0x10001ce4
mov eax, dword [edi + 0x14]
jmp 0x10001ce7
lea eax, [edi + 0x14]
push esi
push eax
call fcn.1002957a
add esp, 8
test eax, eax
je 0x10001d70
add dword [esp + 0x18], 1
add dword [esp + 0x14], 0x1c
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
jmp 0x10001c58
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x2d], 0
je 0x10001d24
call fcn.10015c93
jmp 0x10001c36
mov ecx, dword [eax + 8]
cmp byte [ecx + 0x2d], 0
jne 0x10001d48
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x10001d3f
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x10001d35
mov dword [esp + 0x20], ecx
jmp 0x10001c40
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
jne 0x10001d67
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 8]
jne 0x10001d67
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x10001d51
mov dword [esp + 0x20], eax
jmp 0x10001c40
lea eax, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.10002510
mov esi, dword [esp + 0x44]
xor ebp, ebp
cmp esi, ebp
je 0x10001dc7
mov edi, dword [esp + 0x48]
cmp esi, edi
je 0x10001dbe
add esi, 0x18
cmp dword [esi], ebx
jb 0x10001da3
mov edx, dword [esi - 0x14]
push edx
call fcn.1000a6ea
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebp
mov byte [esi - 0x14], 0
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x10001d93
mov esi, dword [esp + 0x44]
push esi
call fcn.1000a6ea
add esp, 4
mov ebx, dword [esp + 0x54]
cmp ebx, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
je 0x10001e17
mov edi, dword [esp + 0x58]
cmp ebx, edi
je 0x10001e0e
lea esi, [ebx + 0x18]
cmp dword [esi], 0x10
jb 0x10001df7
mov ecx, dword [esi - 0x14]
push ecx
call fcn.1000a6ea
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebp
mov byte [esi - 0x14], 0
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x10001de6
push ebx
call fcn.1000a6ea
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x10001e2e
mov eax, dword [esp + 0x78]
push eax
call fcn.1000a6ea
add esp, 4
mov eax, 1
jmp 0x10001efe
xor ebp, ebp
lea eax, [esp + 0x34]
mov byte [esp + 0x6c], 2
call fcn.10002510
mov esi, dword [esp + 0x44]
cmp esi, ebp
je 0x10001e95
mov edi, dword [esp + 0x48]
cmp esi, edi
je 0x10001e8c
add esi, 0x18
jmp 0x10001e60
cmp dword [esi], 0x10
jb 0x10001e71
mov ecx, dword [esi - 0x14]
push ecx
call fcn.1000a6ea
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebp
mov byte [esi - 0x14], 0
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x10001e60
mov esi, dword [esp + 0x44]
push esi
call fcn.1000a6ea
add esp, 4
mov ebx, dword [esp + 0x54]
cmp ebx, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
je 0x10001ee5
mov edi, dword [esp + 0x58]
cmp ebx, edi
je 0x10001edc
lea esi, [ebx + 0x18]
cmp dword [esi], 0x10
jb 0x10001ec5
mov eax, dword [esi - 0x14]
push eax
call fcn.1000a6ea
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebp
mov byte [esi - 0x14], 0
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x10001eb4
push ebx
call fcn.1000a6ea
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x10001efc
mov edx, dword [esp + 0x78]
push edx
call fcn.1000a6ea
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x1c