Function at 0x61ec3500
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 0x61ec3900
cmp al, 0x5c
je 0x61ec3900
and eax, 0xffffffdf
sub eax, 0x41
cmp al, 0x19
jbe 0x61ec3950
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 0x61ec3569
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 0x61ec358d
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 0x61ec35b2
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 0x61ec35d1
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 0x61ec3aa6
mov edx, eax
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x61ec3a00
movzx ebx, byte [esp + 0x40]
mov ecx, dword [esp + 0x80]
jmp 0x61ec3625
movzx ebx, byte [ecx]
mov edx, eax
lea eax, [edx + 1]
add ecx, 1
test bl, bl
mov byte [eax - 1], bl
jne 0x61ec3620
mov edi, dword [esp + 0x44]
test edi, edi
je 0x61ec3663
mov byte [edx], 0x5f
mov esi, dword [esp + 0x84]
mov edx, eax
jmp 0x61ec3652
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x61ec3650
mov esi, dword [esp + 0x48]
test esi, esi
je 0x61ec3693
mov byte [edx], 0x2e
mov esi, dword [esp + 0x88]
mov edx, eax
jmp 0x61ec3682
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x61ec3680
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x61ec36c3
mov byte [edx], 0x2e
mov esi, dword [esp + 0x8c]
mov edx, eax
jmp 0x61ec36b2
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x61ec36b0
test ebp, ebp
je 0x61ec36e8
mov byte [edx], 0x40
mov esi, dword [esp + 0x90]
mov edx, eax
jmp 0x61ec36d7
mov edx, eax
add esi, 1
movzx ecx, byte [esi - 1]
add eax, 1
test cl, cl
mov byte [eax - 1], cl
jne 0x61ec36d5
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 0x61ec36f2
mov eax, dword [esp + 0x70]
mov edi, dword [eax]
test edi, edi
je 0x61ec3a9d
mov ebx, dword [esp + 0x3c]
mov esi, eax
mov esi, esi
lea edi, [edi]
mov eax, dword [edi]
test eax, eax
je 0x61ec373f
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x61ec3a87
js 0x61ec3746
lea esi, [edi + 0xc]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x61ec3720
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x61ec3a85
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x61ec3910
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 0x61ec3aad
cmp dword [esp + 0x44], 1
mov dword [edi], eax
jbe 0x61ec3a58
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 0x61ec396e
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 0x61ec381f
sub esi, 1
cmp esi, 0xffffffff
je 0x61ec3970
test dword [esp + 0x40], esi
jne 0x61ec3813
mov eax, esi
and eax, 3
cmp eax, 3
je 0x61ec3813
cmp dword [esp + 0x44], 1
jbe 0x61ec3982
xor ebp, ebp
test ebp, ebp
je 0x61ec38e3
cmp ebp, dword [esp + 0x3c]
jae 0x61ec3813
mov dword [esp], ebp
mov dword [esp + 4], 0
call sub.msvcrt.dll_strchr
lea ebp, [eax + 1]
cmp dword [esp + 0x3c], ebp
jbe 0x61ec3813
test ebp, ebp
je 0x61ec3813
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 sym.libintl_8.dll__nl_make_l10nflist
test ebp, ebp
mov dword [edi + ebx*4 + 0xc], eax
jne 0x61ec3844
mov eax, dword [esp + 0x78]
test eax, eax
je 0x61ec3813
mov ebp, dword [esp + 0x74]
jmp 0x61ec3863
mov dword [esp + 0x78], 0
jmp 0x61ec3533
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 0x61ec3920
xor edx, edx
cmp ebx, 1
mov dword [esp + 0x44], ebx
seta dl
jmp 0x61ec376b
mov eax, dword [esp + 0x80]
cmp byte [eax + 1], 0x3a
mov eax, 0
cmovne eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x61ec3533
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 sym.libintl_8.dll__nl_make_l10nflist
mov dword [edi + ebx*4 + 0x10], eax
mov ebx, ebp
jmp 0x61ec3813
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 0x61ec3a47
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 0x61ec3a30
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x78]
mov byte [edx - 1], 0x2f
jmp 0x61ec3608
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 0x61ec37f1
xor edi, edi
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_free
add esp, 0x5c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x70]
jmp 0x61ec3746
xor eax, eax
jmp 0x61ec397a
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x61ec397a