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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10027018]
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 0x100198a2
mov ecx, dword [edi + 0x10]
movzx eax, ax
cmp eax, ecx
jb 0x1001989b
mov ebx, dword [edi + 0x14]
add ebx, ecx
cmp eax, ebx
ja 0x1001989b
sub eax, ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x10019904
xor eax, eax
jmp 0x10019a31
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x10019904
jmp 0x100198b6
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 0x100198e0
test al, al
je 0x100198dc
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100198e0
add esi, 2
add ecx, 2
test al, al
jne 0x100198c0
xor eax, eax
jmp 0x100198e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100198fb
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 0x100198b0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp eax, edi
jb 0x10019a31
mov ecx, dword [esi + 0x7c]
add ecx, edi
cmp eax, ecx
jae 0x10019a31
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001989b
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.10018270
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.10019810
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 0x10019a11
mov edi, 0x100231e4
sub edi, 0x6fad512a
lea esi, [ebp - 0x20]
call fcn.10018420
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.10019810
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 0x10019a21
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.10019810
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.10019e35
mov esp, ebp
pop ebp
ret