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

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax]
push ebp
push esi
push edi
push ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
call fcn.0045a8d0
mov ebp, eax
mov al, byte [esp + 0x14]
mov edx, 0x40
add esp, 4
test dl, al
jne 0x4a8c9a
mov eax, dword [0x4dc574]
test eax, eax
je 0x4a909d
cmp ebp, 5
jl 0x4a909d
mov ecx, 5
mov edi, str.file:
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a909d
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
or edi, edx
cmp ebp, eax
lea esi, [ebp + 2]
mov dword [esp + 0x10], edi
jle 0x4a8ce0
mov dl, byte [eax + ebx]
xor ecx, ecx
cmp dl, 0x26
sete cl
add esi, ecx
inc eax
cmp eax, ebp
jl 0x4a8cce
push esi
call fcn.00458f40
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4a8cfe
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x20
ret
mov al, byte [ebx + 5]
mov cl, 0x2f
cmp al, cl
mov ebp, 5
jne 0x4a8d66
cmp byte [ebx + 6], cl
jne 0x4a8d66
mov al, byte [ebx + 7]
lea edx, [ebx + 7]
test al, al
mov ebp, 7
je 0x4a8d66
cmp al, cl
je 0x4a8d2d
mov al, byte [ebx + ebp + 1]
inc ebp
test al, al
jne 0x4a8d20
cmp ebp, 7
je 0x4a8d66
cmp ebp, 0x10
jne 0x4a8d49
mov ecx, 9
mov edi, edx
mov esi, str.localhost
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4a8d66
add ebp, 0xfffffff9
push edx
push ebp
push str.invalid_uri_authority:__.s
call fcn.0045a5d0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4a9118
mov al, byte [ebx + ebp]
xor edi, edi
test al, al
je 0x4a8ee3
jmp 0x4a8d79
mov ebx, dword [esp + 0x38]
cmp al, 0x23
je 0x4a8ecd
inc ebp
cmp al, 0x25
jne 0x4a8e3c
mov cl, byte [ebx + ebp]
mov edx, ecx
and edx, 0xff
test byte [edx + 0x4bd564], 8
je 0x4a8e3c
xor edx, edx
mov dl, byte [ebx + ebp + 1]
test byte [edx + 0x4bd564], 8
je 0x4a8e3c
movsx eax, cl
push eax
inc ebp
call fcn.00487010
mov esi, dword [esp + 0x3c]
mov bl, al
and ebx, 0xff
movsx eax, byte [esi + ebp]
shl ebx, 4
push eax
inc ebp
call fcn.00487010
and eax, 0xff
add esp, 8
add ebx, eax
jne 0x4a8e38
mov al, byte [esi + ebp]
test al, al
je 0x4a8ebe
cmp al, 0x23
je 0x4a8ebe
test edi, edi
jne 0x4a8e06
cmp al, 0x3f
je 0x4a8ebe
jmp 0x4a8e2a
cmp edi, 1
jne 0x4a8e1d
cmp al, 0x3d
je 0x4a8ebe
cmp al, 0x26
je 0x4a8ebe
jmp 0x4a8e2a
cmp edi, 2
jne 0x4a8e2a
cmp al, 0x26
je 0x4a8ebe
mov al, byte [esi + ebp + 1]
inc ebp
test al, al
jne 0x4a8df0
jmp 0x4a8ebe
mov al, bl
jmp 0x4a8eae
cmp edi, 1
jne 0x4a8e94
cmp al, 0x26
je 0x4a8e49
cmp al, 0x3d
jne 0x4a8eae
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
cmp byte [edx + ecx - 1], 0
jne 0x4a8e7a
mov al, byte [ebx + ebp]
test al, al
je 0x4a8ebe
cmp al, 0x23
je 0x4a8ebe
mov eax, dword [esp + 0x38]
cmp byte [eax + ebp - 1], 0x26
je 0x4a8ebe
inc ebp
mov ecx, eax
mov al, byte [ecx + ebp]
test al, al
jne 0x4a8e5f
jmp 0x4a8ebe
cmp al, 0x26
jne 0x4a8e8b
mov byte [edx + ecx], 0
inc ecx
mov dword [esp + 0x14], ecx
xor al, al
jmp 0x4a8eae
mov edi, 2
xor al, al
jmp 0x4a8eae
test edi, edi
jne 0x4a8e9e
cmp al, 0x3f
je 0x4a8ea7
jmp 0x4a8eae
cmp edi, 2
jne 0x4a8eae
cmp al, 0x26
jne 0x4a8eae
xor al, al
mov edi, 1
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov byte [edx + ecx], al
inc ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x38]
mov al, byte [eax + ebp]
test al, al
jne 0x4a8d75
cmp edi, 1
jne 0x4a8ee3
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov byte [ecx + eax], 0
inc eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push esi
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
call fcn.0045a8d0
lea edi, [eax + esi + 1]
add esp, 4
cmp byte [edi], 0
je 0x4a90ed
push edi
call fcn.0045a8d0
mov esi, eax
lea ebp, [esi + edi + 1]
push ebp
mov dword [esp + 0x40], ebp
call fcn.0045a8d0
add esp, 8
cmp esi, 3
mov dword [esp + 0x1c], eax
jne 0x4a8f46
mov ecx, esi
mov esi, 0x4e1ed0
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a903e
mov dword [esp + 0x2c], ebp
jmp 0x4a903e
cmp esi, 5
jne 0x4a8f78
mov ecx, esi
mov esi, str.cache
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4a903e
mov eax, 0x60000
mov ebx, 0x4dd3e8
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], str.cache
jmp 0x4a8fb4
cmp esi, 4
jne 0x4a903e
mov eax, dword [edi]
mov ecx, str.mode
mov edx, dword [ecx]
cmp edx, eax
jne 0x4a903e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 0x87
and eax, 0x87
mov ebx, 0x4dd400
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], str.access
test ebx, ebx
je 0x4a903e
mov eax, dword [ebx]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4a9057
mov eax, ebx
mov ebp, ebx
mov edi, dword [eax]
push edi
call fcn.0045a8d0
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, eax
jne 0x4a8ff8
mov esi, dword [esp + 0x38]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4a8ff4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a900f
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add ebp, 8
inc esi
test ecx, ecx
mov dword [esp + 0x14], esi
mov eax, ebp
je 0x4a9057
jmp 0x4a8fd2
mov eax, dword [esp + 0x14]
mov eax, dword [ebx + eax*8 + 4]
test eax, eax
je 0x4a9057
mov edx, dword [esp + 0x24]
mov ecx, eax
and cl, 0x7f
cmp ecx, edx
jg 0x4a9073
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
not ecx
and ecx, esi
or ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
mov al, byte [edx + ebp + 1]
lea edi, [edx + ebp + 1]
test al, al
je 0x4a90e9
jmp 0x4a8f0a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str.no_such__s_mode:__s
call fcn.0045a5d0
add esp, 0xc
jmp 0x4a9112
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str._s_mode_not_allowed:__s
call fcn.0045a5d0
mov edx, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x18], 3
mov dword [edx], eax
jmp 0x4a9120
lea eax, [ebp + 2]
push eax
call fcn.00458f40
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4a90be
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
mov esi, ebx
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 + ebp], 0
mov byte [eax + ebp + 1], 0
mov eax, dword [esp + 0x10]
and al, 0xbf
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
push edi
call fcn.00458910
mov ecx, dword [esp + 0x44]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x4a9139
push edi
push str.no_such_vfs:__s
call fcn.0045a5d0
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [edx], eax
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x34]
push eax
call fcn.00459150
mov dword [esp + 0x38], 0
add esp, 4
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
pop edi
mov dword [ecx], edx
mov dword [eax], esi
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret