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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x80]
movzx eax, byte [eax]
cmp al, 0x2f
mov byte [esp + 0x40], al
je 0x4aa5b0
cmp al, 0x5c
je 0x4aa5b0
or eax, 0x20
movsx eax, al
sub eax, 0x61
cmp eax, 0x19
jbe 0x4aa600
mov eax, dword [esp + 0x80]
xor ebp, ebp
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add eax, dword [esp + 0x78]
mov esi, eax
mov eax, dword [esp + 0x7c]
and eax, 4
mov dword [esp + 0x44], eax
je 0x4aa21d
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea ebp, [eax + 1]
mov eax, dword [esp + 0x7c]
add esi, 2
xor edi, edi
and eax, 2
mov dword [esp + 0x48], eax
je 0x4aa241
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edi, [eax + 1]
mov eax, dword [esp + 0x7c]
lea ebx, [ebp + esi]
xor esi, esi
and eax, 1
mov dword [esp + 0x4c], eax
je 0x4aa266
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea esi, [eax + 1]
mov ebp, dword [esp + 0x7c]
add ebx, edi
xor edi, edi
and ebp, 8
je 0x4aa285
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edi, [eax + 1]
mov eax, dword [esp + 0x94]
add ebx, esi
add edi, ebx
mov dword [esp], eax
call sub.msvcrt.dll_strlen
add edi, eax
mov dword [esp], edi
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4aa756
mov edx, eax
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4aa6b0
movzx ebx, byte [esp + 0x40]
mov ecx, dword [esp + 0x80]
jmp 0x4aa2d5
movzx ebx, byte [ecx]
mov edx, eax
lea eax, [edx + 1]
add ecx, 1
test bl, bl
mov byte [eax - 1], bl
jne 0x4aa2d0
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4aa313
mov byte [edx], 0x5f
mov esi, dword [esp + 0x84]
mov edx, eax
jmp 0x4aa302
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x4aa300
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4aa343
mov byte [edx], 0x2e
mov esi, dword [esp + 0x88]
mov edx, eax
jmp 0x4aa332
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x4aa330
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x4aa373
mov byte [edx], 0x2e
mov esi, dword [esp + 0x8c]
mov edx, eax
jmp 0x4aa362
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x4aa360
test ebp, ebp
je 0x4aa398
mov byte [edx], 0x40
mov esi, dword [esp + 0x90]
mov edx, eax
jmp 0x4aa387
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x4aa385
mov byte [edx], 0x2f
mov edx, dword [esp + 0x94]
add edx, 1
movzx ecx, byte [edx - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x4aa3a2
mov eax, dword [esp + 0x70]
mov edi, dword [eax]
test edi, edi
je 0x4aa74d
mov ebx, dword [esp + 0x3c]
mov esi, eax
mov esi, esi
lea edi, [edi]
mov eax, dword [edi]
test eax, eax
je 0x4aa3ef
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4aa737
js 0x4aa3f6
lea esi, [edi + 0xc]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x4aa3d0
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4aa735
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x4aa5c0
xor edx, edx
mov dword [esp + 0x44], 1
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
and ecx, 0xffffaaaa
and eax, 0x5555
sar ecx, 1
add ecx, eax
mov eax, ecx
and ecx, 0x3333
and eax, 0xffffcccc
sar eax, 2
lea eax, [eax + ecx]
mov ecx, eax
sar ecx, 4
add eax, ecx
and eax, 0xf0f
mov ecx, eax
sar ecx, 8
add ecx, eax
mov eax, dword [esp + 0x44]
shl eax, cl
lea eax, [edx + eax + 5]
shl eax, 2
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edi, eax
mov eax, dword [esp + 0x3c]
test edi, edi
je 0x4aa75d
cmp dword [esp + 0x44], 1
mov dword [edi], eax
jbe 0x4aa708
mov dword [edi + 8], 0
mov eax, dword [esi]
mov dword [edi + 4], 1
mov dword [edi + 0xc], eax
mov dword [esi], edi
mov esi, dword [esp + 0x7c]
test esi, esi
js 0x4aa61e
mov eax, dword [esp + 0x7c]
xor ebx, ebx
not eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
jmp 0x4aa4cf
sub esi, 1
cmp esi, 0xffffffff
je 0x4aa620
test dword [esp + 0x40], esi
jne 0x4aa4c3
mov eax, esi
and eax, 3
cmp eax, 3
je 0x4aa4c3
cmp dword [esp + 0x44], 1
jbe 0x4aa632
xor ebp, ebp
test ebp, ebp
je 0x4aa593
cmp ebp, dword [esp + 0x3c]
jae 0x4aa4c3
mov dword [esp], ebp
mov dword [esp + 4], 0
call sub.msvcrt.dll_strchr
lea ebp, [eax + 1]
cmp dword [esp + 0x3c], ebp
jbe 0x4aa4c3
test ebp, ebp
je 0x4aa4c3
mov dword [esp], ebp
add ebx, 1
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
call fcn.004aa1b0
test ebp, ebp
mov dword [edi + ebx*4 + 0xc], eax
jne 0x4aa4f4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4aa4c3
mov ebp, dword [esp + 0x74]
jmp 0x4aa513
mov dword [esp + 0x78], 0
jmp 0x4aa1e7
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
xor ebx, ebx
lea esi, [esi]
mov dword [esp], ebp
add ebx, 1
call sub.msvcrt.dll_strlen
sub edi, eax
lea ebp, [ebp + eax + 1]
sub edi, 1
jne 0x4aa5d0
xor edx, edx
cmp ebx, 1
mov dword [esp + 0x44], ebx
seta dl
jmp 0x4aa41b
mov eax, dword [esp + 0x80]
cmp byte [eax + 1], 0x3a
mov eax, 0
cmovne eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x4aa1e7
xor ebx, ebx
mov dword [edi + ebx*4 + 0x10], 0
mov eax, edi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 1]
mov dword [esp + 0x28], 1
mov dword [esp + 0xc], esi
mov ebp, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004aa1b0
mov dword [edi + ebx*4 + 0x10], eax
mov ebx, ebp
jmp 0x4aa4c3
mov eax, dword [esp + 0x78]
mov dword [esp], edx
mov edi, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov esi, dword [esp + 0x78]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
sub esi, eax
sub esi, 1
je 0x4aa6f7
lea esi, [esi]
add eax, edi
lea edi, [eax + 1]
mov byte [eax], 0x3b
mov dword [esp], edi
call sub.msvcrt.dll_strlen
sub esi, eax
sub esi, 1
jne 0x4aa6e0
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x78]
mov byte [edx - 1], 0x2f
jmp 0x4aa2bc
mov eax, dword [esp + 0x7c]
mov dword [edi + 8], 0
and eax, 3
cmp eax, 3
sete al
movzx eax, al
mov dword [edi + 4], eax
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esi], edi
lea esi, [eax - 1]
jmp 0x4aa4a1
xor edi, edi
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004defc0
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x70]
jmp 0x4aa3f6
xor eax, eax
jmp 0x4aa62a
mov dword [esp], eax
call fcn.004defc0
xor eax, eax
jmp 0x4aa62a