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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10049040
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10063018]
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 0x10018d72
mov ecx, dword [edi + 0x10]
movzx eax, ax
cmp eax, ecx
jb 0x10018d6b
mov ebx, dword [edi + 0x14]
add ebx, ecx
cmp eax, ebx
ja 0x10018d6b
sub eax, ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x10018dd4
xor eax, eax
jmp 0x10018f01
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x10018dd4
jmp 0x10018d86
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 0x10018db0
test al, al
je 0x10018dac
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10018db0
add esi, 2
add ecx, 2
test al, al
jne 0x10018d90
xor eax, eax
jmp 0x10018db5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10018dcb
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 0x10018d80
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp eax, edi
jb 0x10018f01
mov ecx, dword [esi + 0x7c]
add ecx, edi
cmp eax, ecx
jae 0x10018f01
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10018d6b
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.10015110
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.10018ce0
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 0x10018ee1
mov edi, 0x1005f27c
sub edi, 0x6fad512a
lea esi, [ebp - 0x20]
call fcn.10019650
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.10018ce0
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 0x10018ef1
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
call fcn.10018ce0
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.100197a5
mov esp, ebp
pop ebp
ret