Function at 0x1001e820
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020c50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, dword [edx + 0x3c]
mov edi, dword [esi + edx + 0x78]
mov ecx, dword [edi + edx + 0x1c]
mov eax, dword [ebp + 0xc]
add esi, edx
add edi, edx
add ecx, edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi + 0x24]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edi + 0x20]
add ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], 0
test eax, 0xffff0000
jne 0x1001e8b2
mov ecx, dword [edi + 0x10]
movzx eax, ax
cmp eax, ecx
jb 0x1001e8ab
mov ebx, dword [edi + 0x14]
add ebx, ecx
cmp eax, ebx
ja 0x1001e8ab
sub eax, ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1001e914
xor eax, eax
jmp 0x1001ea41
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x1001e914
jmp 0x1001e8c6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + ebx*4]
add ecx, edx
mov esi, eax
lea ecx, [ecx]
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1001e8f0
test al, al
je 0x1001e8ec
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1001e8f0
add esi, 2
add ecx, 2
test al, al
jne 0x1001e8d0
xor eax, eax
jmp 0x1001e8f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001e90b
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax + ebx*2]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + ecx*4]
add eax, edx
mov dword [ebp - 0x34], eax
inc ebx
cmp ebx, dword [edi + 0x18]
jb 0x1001e8c0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp eax, edi
jb 0x1001ea41
mov ecx, dword [esi + 0x7c]
add ecx, edi
cmp eax, ecx
jae 0x1001ea41
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001e8ab
push 0x2e
push eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.MSVCR100.dll_strchr]
mov byte [eax], 0
inc eax
mov edi, str.nO_aBJZTzRZQZRy
add esp, 8
sub edi, 0x1e7b41dd
lea esi, [ebp - 0x24]
mov dword [ebp - 0x3c], eax
call fcn.1001b400
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], ecx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
push eax
push edx
call fcn.1001e820
add esp, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001ea21
mov edi, 0x1002953c
sub edi, 0x6fad512a
lea esi, [ebp - 0x20]
call fcn.1001b5b0
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1001e820
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], eax
xor eax, eax
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
push dword [ebp - 0x30]
call dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1001ea31
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.1001e820
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_free]
mov eax, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001efe5
mov esp, ebp
pop ebp
ret