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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021940
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002f018]
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 0x1001f532
mov ecx, dword [edi + 0x10]
movzx eax, ax
cmp eax, ecx
jb 0x1001f52b
mov ebx, dword [edi + 0x14]
add ebx, ecx
cmp eax, ebx
ja 0x1001f52b
sub eax, ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1001f594
xor eax, eax
jmp 0x1001f6c1
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x1001f594
jmp 0x1001f546
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 0x1001f570
test al, al
je 0x1001f56c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1001f570
add esi, 2
add ecx, 2
test al, al
jne 0x1001f550
xor eax, eax
jmp 0x1001f575
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001f58b
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 0x1001f540
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp eax, edi
jb 0x1001f6c1
mov ecx, dword [esi + 0x7c]
add ecx, edi
cmp eax, ecx
jae 0x1001f6c1
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001f52b
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.1001c040
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.1001f4a0
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 0x1001f6a1
mov edi, 0x1002a6cc
sub edi, 0x6fad512a
lea esi, [ebp - 0x20]
call fcn.1001c1f0
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.1001f4a0
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 0x1001f6b1
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.1001f4a0
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.1001fc75
mov esp, ebp
pop ebp
ret