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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1000e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], eax
push esi
push edi
test ebx, ebx
je 0x10001c9c
push 0x1000
call fcn.10008294
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], edi
push 0
push 0x1000
push edi
push ebx
push dword [ebp - 8]
call esi
test eax, eax
je 0x10001c93
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + edi + 0x7c]
mov eax, dword [eax + edi + 0x78]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x10001c93
push ecx
call fcn.10008294
mov ecx, dword [ebp - 0x18]
add esp, 4
add ecx, dword [ebp - 0x10]
mov ebx, eax
push 0
push dword [ebp - 0x14]
push ebx
push ecx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10001b29
push ebx
call fcn.1000829d
push edi
call fcn.1000829d
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov edx, ebx
sub edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, ecx
and eax, 0xffffff
mov dword [ebp - 0x24], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xffff
ja 0x10001bb9
sub cx, word [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
inc cx
movzx ecx, cx
push ebx
lea eax, [eax + ecx*4]
mov esi, dword [eax + edx]
call fcn.1000829d
push edi
call fcn.1000829d
mov eax, dword [ebp - 0x10]
add esp, 8
cmp esi, eax
jb 0x10001ba0
add eax, dword [ebp - 0x14]
cmp esi, eax
jae 0x10001ba0
push esi
lea ecx, [ebp - 0x38]
call fcn.10001cb0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
pop edi
add eax, esi
pop esi
setne al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x18]
dec edi
xor eax, eax
mov dword [ebp - 0x1c], eax
lea esi, [eax + edi]
mov eax, dword [ebx + 0x20]
shr esi, 1
lea eax, [eax + esi*4]
mov eax, dword [eax + edx]
add eax, edx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001bf2
test dl, dl
je 0x10001bee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001bf2
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001bd2
xor eax, eax
jmp 0x10001bf7
sbb eax, eax
or eax, 1
test eax, eax
jns 0x10001c03
lea eax, [esi + 1]
mov dword [ebp - 0x1c], eax
jmp 0x10001c0b
jle 0x10001c39
mov eax, dword [ebp - 0x1c]
lea edi, [esi - 1]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp eax, edi
jbe 0x10001bc2
push ebx
call fcn.1000829d
push dword [ebp - 0x28]
call fcn.1000829d
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x24]
push ebx
lea eax, [eax + esi*2]
mov esi, dword [ebp - 0x24]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
call fcn.1000829d
push dword [ebp - 0x28]
call fcn.1000829d
add esp, 8
test esi, esi
je 0x10001c9c
mov eax, dword [ebp - 0x10]
cmp esi, eax
jb 0x10001c76
add eax, dword [ebp - 0x14]
cmp esi, eax
jb 0x10001b86
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
add eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
push edi
call fcn.1000829d
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008286
mov esp, ebp
pop ebp
ret