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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c660
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10029018]
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 0x1001aa02
mov ecx, dword [edi + 0x10]
movzx eax, ax
cmp eax, ecx
jb 0x1001a9fb
mov ebx, dword [edi + 0x14]
add ebx, ecx
cmp eax, ebx
ja 0x1001a9fb
sub eax, ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1001aa64
xor eax, eax
jmp 0x1001ab91
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x1001aa64
jmp 0x1001aa16
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 0x1001aa40
test al, al
je 0x1001aa3c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1001aa40
add esi, 2
add ecx, 2
test al, al
jne 0x1001aa20
xor eax, eax
jmp 0x1001aa45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001aa5b
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 0x1001aa10
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp eax, edi
jb 0x1001ab91
mov ecx, dword [esi + 0x7c]
add ecx, edi
cmp eax, ecx
jae 0x1001ab91
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001a9fb
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.10019190
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.1001a970
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 0x1001ab71
mov edi, 0x10024474
sub edi, 0x6fad512a
lea esi, [ebp - 0x20]
call fcn.100195b0
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.1001a970
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 0x1001ab81
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.1001a970
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.1001af22
mov esp, ebp
pop ebp
ret