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

Disassembly:
push 0xffffffffffffffff
push 0x10030fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003cb10]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
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]
xor esi, esi
mov dword [eax + 8], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov ebx, 2
push esi
push ebx
mov byte [esp + 0x78], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, esi
je 0x100015bc
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.10005390
mov ecx, dword [edi + 0xc]
push 0x65
lea edx, [esp + 0x44]
push edx
call fcn.10004d00
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x78], 4
call fcn.10002050
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x10001605
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
push ecx
call fcn.10003070
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.1000a6ea
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
jmp 0x10001630
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x30], edx
je 0x100017e1
xor edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
cmp ebx, esi
je 0x10001702
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, edi
jbe 0x10001702
cmp ebx, ebp
mov esi, ebx
jbe 0x10001682
call fcn.10015c93
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], esi
add esi, eax
cmp esi, ebp
ja 0x1000169a
cmp esi, ebx
jae 0x1000169f
call fcn.10015c93
cmp esi, dword [edi + 8]
jb 0x100016a9
call fcn.10015c93
mov ebp, 0x10
cmp dword [esi + 0x18], ebp
jb 0x100016b8
mov esi, dword [esi + 4]
jmp 0x100016bb
add esi, 4
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x38]
jne 0x100016ca
call fcn.10015c93
cmp dword [edi + 0x28], ebp
jb 0x100016d4
mov eax, dword [edi + 0x14]
jmp 0x100016d7
lea eax, [edi + 0x14]
push esi
push eax
call fcn.1002957a
add esp, 8
test eax, eax
je 0x10001762
add dword [esp + 0x24], 1
add dword [esp + 0x28], 0x1c
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
xor esi, esi
jmp 0x10001648
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x2d], 0
je 0x10001716
call fcn.10015c93
jmp 0x1000161b
mov ecx, dword [eax + 8]
cmp byte [ecx + 0x2d], 0
jne 0x1000173a
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
jne 0x10001731
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x2d], 0
je 0x10001727
mov dword [esp + 0x30], ecx
jmp 0x10001630
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
jne 0x10001759
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 8]
jne 0x10001759
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], 0
je 0x10001743
mov dword [esp + 0x30], eax
jmp 0x10001630
mov esi, dword [esp + 0x18]
xor ebx, ebx
cmp esi, ebx
je 0x100017ab
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x100017a2
add esi, 0x18
cmp dword [esi], ebp
jb 0x10001787
mov eax, dword [esi - 0x14]
push eax
call fcn.1000a6ea
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], 0
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x10001777
mov esi, dword [esp + 0x18]
push esi
call fcn.1000a6ea
add esp, 4
lea eax, [esp + 0x34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], 0xffffffff
call fcn.10002510
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
cmp ebx, esi
je 0x1000182b
cmp ebx, ebp
je 0x10001822
lea esi, [ebx + 0x18]
lea esp, [esp]
cmp dword [esi], 0x10
jb 0x10001801
mov eax, dword [esi - 0x14]
push eax
call fcn.1000a6ea
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], 0
mov byte [esi - 0x14], 0
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, ebp
jne 0x100017f0
mov ebx, dword [esp + 0x18]
xor esi, esi
push ebx
call fcn.1000a6ea
add esp, 4
lea eax, [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x70], 0xffffffff
call fcn.10002510
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret