Function at 0x49ae10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d4c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x80
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edi
mov byte [ebp], 0
call fcn.004bd49b
mov esi, eax
mov ecx, 0x1f
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x28], 0x4db228
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x4c], edi
test eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x58], edi
jle 0x49af93
cmp edi, eax
jge 0x49ae9b
test edi, edi
jl 0x49ae9b
mov eax, dword [ebx + 0x74]
mov edx, dword [eax + edi*4]
mov dword [esp + 0x10], edx
jmp 0x49aea7
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
test byte [edx + 0x10e], 2
je 0x49af69
mov eax, dword [edx + 0x138]
test eax, eax
je 0x49af69
mov edi, dword [eax + 0x34]
mov dword [esp + 0x18], 0
test edi, edi
jle 0x49af65
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x38]
mov edi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x20], eax
je 0x49af42
lea edi, [ecx + 1]
cmp dword [esp + 0x30], edi
jne 0x49af36
lea ecx, [ecx*4 + 0x104]
push ecx
call fcn.004bd49b
mov edx, dword [esp + 0x30]
mov ebx, eax
mov ecx, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.004bd4c4
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
add esp, 8
add eax, 0x40
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov esi, ebx
mov ebx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov dword [esi + edi*4], eax
inc edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add eax, 0x44
inc edi
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x138]
mov dword [esp + 0x18], edi
cmp edi, dword [eax + 0x34]
jl 0x49aedd
mov edi, dword [esp + 0x58]
mov eax, dword [ebx + 0x78]
inc edi
cmp edi, eax
mov dword [esp + 0x58], edi
jl 0x49ae8b
mov eax, dword [esp + 0x30]
cmp eax, 2
jl 0x49af93
push 0x49c260
push 4
push eax
push esi
call fcn.004a7ee0
add esp, 0x10
mov ecx, dword [esp + 0x30]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x58], eax
jle 0x49b03f
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [esp + 0x14], esi
jmp 0x49afb5
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x30]
jge 0x49afc7
test eax, eax
jl 0x49afc7
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
jmp 0x49afc9
xor edi, edi
mov edx, dword [esp + 0x5c]
mov ecx, dword [edi + 4]
cmp ecx, edx
jne 0x49afd8
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x30]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4edda4
push ebp
call ebx
lea ecx, [edi + 8]
push ecx
push ebp
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + ebp + 1]
push 0x4f17cc
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0x38
push edi
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
lea ebp, [esi + eax + 1]
mov eax, dword [esp + 0x58]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], edx
jl 0x49afb1
mov esi, dword [esp + 0x2c]
mov byte [ebp], 0
push esi
mov byte [ebp + 1], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.004bd4c4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc