Function at 0x4d7080
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
push edi
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], edx
call fcn.00471550
mov ebx, eax
mov al, byte [ebp - 4]
add esp, 4
test al, 0x40
jne 0x4d70c0
mov al, byte [0x8d876e]
test al, al
je 0x4d74b3
cmp ebx, 5
jl 0x4d74b3
mov esi, dword [ebp + 0xc]
mov ecx, 5
mov edi, str.file:
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4d74b3
lea eax, [ebx + 2]
xor ecx, ecx
cdq
mov edi, edx
mov edx, dword [ebp - 4]
or edx, 0x40
mov dword [ebp - 8], ecx
test ebx, ebx
mov esi, eax
mov dword [ebp - 4], edx
jle 0x4d7110
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp byte [ecx + edx], 0x26
sete al
cdq
add esi, eax
adc edi, edx
inc ecx
cmp ecx, ebx
jl 0x4d70fa
push edi
push esi
call fcn.0046f440
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x4d712d
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov cl, 0x2f
mov ebx, 5
cmp byte [edx + 5], cl
jne 0x4d7199
cmp byte [edx + 6], cl
jne 0x4d7199
mov al, byte [edx + 7]
lea edi, [edx + 7]
test al, al
mov ebx, 7
mov dword [ebp - 0x20], edi
je 0x4d7199
cmp al, cl
je 0x4d7160
mov al, byte [ebx + edx + 1]
inc ebx
test al, al
jne 0x4d7153
cmp ebx, 7
je 0x4d7199
cmp ebx, 0x10
jne 0x4d717d
mov ecx, 9
mov esi, str.localhost
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4d7199
mov edi, dword [ebp - 0x20]
add ebx, 0xfffffff9
push edi
push ebx
push str.invalid_uri_authority:__.s
call fcn.004711e0
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4d7529
mov al, byte [ebx + edx]
xor edi, edi
test al, al
je 0x4d730f
jmp 0x4d71ab
mov edx, dword [ebp + 0xc]
cmp al, 0x23
je 0x4d72fc
inc ebx
cmp al, 0x25
jne 0x4d7273
mov cl, byte [ebx + edx]
mov esi, ecx
and esi, 0xff
test byte [esi + 0x8ab9f0], 8
je 0x4d7273
mov esi, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ebx + esi + 1]
test byte [edx + 0x8ab9f0], 8
je 0x4d7270
movsx eax, cl
push eax
inc ebx
call fcn.004865d0
and eax, 0xff
shl eax, 4
mov dword [ebp - 0x20], eax
movsx eax, byte [ebx + esi]
push eax
inc ebx
call fcn.004865d0
mov cl, al
mov eax, dword [ebp - 0x20]
and ecx, 0xff
add esp, 8
add eax, ecx
jne 0x4d72e1
mov al, byte [ebx + esi]
test al, al
je 0x4d72ee
cmp al, 0x23
je 0x4d72ee
test edi, edi
jne 0x4d7241
cmp al, 0x3f
je 0x4d72ee
jmp 0x4d7265
cmp edi, 1
jne 0x4d7258
cmp al, 0x3d
je 0x4d72ee
cmp al, 0x26
je 0x4d72ee
jmp 0x4d7265
cmp edi, 2
jne 0x4d7265
cmp al, 0x26
je 0x4d72ee
mov al, byte [ebx + esi + 1]
inc ebx
test al, al
jne 0x4d722b
jmp 0x4d72ee
mov edx, dword [ebp + 0xc]
cmp edi, 1
jne 0x4d72c7
cmp al, 0x26
je 0x4d7280
cmp al, 0x3d
jne 0x4d72e1
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp byte [esi + ecx - 1], 0
jne 0x4d72ae
mov al, byte [ebx + edx]
test al, al
je 0x4d72ee
cmp al, 0x23
je 0x4d72ee
mov edx, dword [ebp + 0xc]
cmp byte [ebx + edx - 1], 0x26
je 0x4d72ee
inc ebx
mov eax, edx
mov al, byte [ebx + eax]
test al, al
jne 0x4d7294
jmp 0x4d72ee
cmp al, 0x26
jne 0x4d72be
mov byte [esi + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
xor al, al
jmp 0x4d72e1
mov edi, 2
xor al, al
jmp 0x4d72e1
test edi, edi
jne 0x4d72d1
cmp al, 0x3f
je 0x4d72da
jmp 0x4d72e1
cmp edi, 2
jne 0x4d72e1
cmp al, 0x26
jne 0x4d72e1
xor al, al
mov edi, 1
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
inc ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov al, byte [ebx + eax]
test al, al
jne 0x4d71a8
cmp edi, 1
jne 0x4d730f
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov byte [ecx + eax], 0
inc eax
mov dword [ebp - 8], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
push esi
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
call fcn.00471550
lea edi, [eax + esi + 1]
add esp, 4
cmp byte [edi], 0
je 0x4d7501
push edi
call fcn.00471550
mov esi, eax
lea ebx, [esi + edi + 1]
push ebx
mov dword [ebp + 0xc], ebx
call fcn.00471550
add esp, 8
cmp esi, 3
mov dword [ebp - 0x14], eax
jne 0x4d736d
mov ecx, esi
mov esi, 0x8b9508
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4d7459
mov dword [ebp - 0x24], ebx
jmp 0x4d7459
cmp esi, 5
jne 0x4d739f
mov ecx, esi
mov esi, str.cache
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4d7459
mov eax, 0x60000
mov ecx, 0x8d9d90
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], str.cache
jmp 0x4d73da
cmp esi, 4
jne 0x4d7459
mov eax, dword [edi]
mov ecx, str.mode
mov edx, dword [ecx]
cmp edx, eax
jne 0x4d7459
mov eax, dword [ebp - 4]
mov ecx, 0x8d9da8
and eax, 0x87
mov dword [ebp - 0x20], 0x87
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], str.access
test ecx, ecx
je 0x4d7459
mov eax, dword [ecx]
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4d7471
mov eax, dword [ebp - 8]
mov ebx, eax
mov edi, dword [eax]
push edi
call fcn.00471550
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, eax
jne 0x4d7418
mov esi, dword [ebp + 0xc]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4d7414
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4d742d
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebx + 8]
add ebx, 8
inc esi
test ecx, ecx
mov dword [ebp - 0x10], esi
mov eax, ebx
je 0x4d7471
jmp 0x4d73f4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x4d7471
mov eax, dword [ebp - 0x1c]
mov edx, ecx
and dl, 0x7f
cmp edx, eax
jg 0x4d7490
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
not eax
and eax, esi
or eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
lea edi, [eax + ebx + 1]
mov al, byte [eax + ebx + 1]
test al, al
je 0x4d74fe
jmp 0x4d7334
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push str.no_such__s_mode:__s
call fcn.004711e0
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4d7529
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.004711e0
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0xc], 3
mov dword [ecx], eax
jmp 0x4d7530
lea eax, [ebx + 2]
cdq
push edx
push eax
call fcn.0046f440
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x4d74d4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4d74ed
mov esi, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + ebx], 0
mov byte [eax + ebx + 1], 0
mov eax, dword [ebp - 4]
and al, 0xbf
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x24]
push edi
call fcn.0046eb80
mov ecx, dword [ebp + 0x14]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x4d7546
push edi
push str.no_such_vfs:__s
call fcn.004711e0
mov edx, dword [ebp + 0x1c]
add esp, 8
mov dword [edx], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0046f4b0
mov dword [ebp + 8], 0
add esp, 4
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
pop edi
mov dword [ecx], edx
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret