Function at 0x549a70
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.004e3e60
mov ebx, eax
mov al, byte [ebp - 4]
add esp, 4
test al, 0x40
jne 0x549ab0
mov al, byte [0x73668e]
test al, al
je 0x549ea3
cmp ebx, 5
jl 0x549ea3
mov esi, dword [ebp + 0xc]
mov ecx, 5
mov edi, str.file:
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x549ea3
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 0x549b00
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 0x549aea
push edi
push esi
call fcn.004e1d50
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x549b1d
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 0x549b89
cmp byte [edx + 6], cl
jne 0x549b89
mov al, byte [edx + 7]
lea edi, [edx + 7]
test al, al
mov ebx, 7
mov dword [ebp - 0x20], edi
je 0x549b89
cmp al, cl
je 0x549b50
mov al, byte [ebx + edx + 1]
inc ebx
test al, al
jne 0x549b43
cmp ebx, 7
je 0x549b89
cmp ebx, 0x10
jne 0x549b6d
mov ecx, 9
mov esi, str.localhost
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x549b89
mov edi, dword [ebp - 0x20]
add ebx, 0xfffffff9
push edi
push ebx
push str.invalid_uri_authority:__.s
call fcn.004e3af0
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
jmp 0x549f19
mov al, byte [ebx + edx]
xor edi, edi
test al, al
je 0x549cff
jmp 0x549b9b
mov edx, dword [ebp + 0xc]
cmp al, 0x23
je 0x549cec
inc ebx
cmp al, 0x25
jne 0x549c63
mov cl, byte [ebx + edx]
mov esi, ecx
and esi, 0xff
test byte [esi + 0x6ff510], 8
je 0x549c63
mov esi, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ebx + esi + 1]
test byte [edx + 0x6ff510], 8
je 0x549c60
movsx eax, cl
push eax
inc ebx
call fcn.004f8f10
and eax, 0xff
shl eax, 4
mov dword [ebp - 0x20], eax
movsx eax, byte [ebx + esi]
push eax
inc ebx
call fcn.004f8f10
mov cl, al
mov eax, dword [ebp - 0x20]
and ecx, 0xff
add esp, 8
add eax, ecx
jne 0x549cd1
mov al, byte [ebx + esi]
test al, al
je 0x549cde
cmp al, 0x23
je 0x549cde
test edi, edi
jne 0x549c31
cmp al, 0x3f
je 0x549cde
jmp 0x549c55
cmp edi, 1
jne 0x549c48
cmp al, 0x3d
je 0x549cde
cmp al, 0x26
je 0x549cde
jmp 0x549c55
cmp edi, 2
jne 0x549c55
cmp al, 0x26
je 0x549cde
mov al, byte [ebx + esi + 1]
inc ebx
test al, al
jne 0x549c1b
jmp 0x549cde
mov edx, dword [ebp + 0xc]
cmp edi, 1
jne 0x549cb7
cmp al, 0x26
je 0x549c70
cmp al, 0x3d
jne 0x549cd1
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp byte [esi + ecx - 1], 0
jne 0x549c9e
mov al, byte [ebx + edx]
test al, al
je 0x549cde
cmp al, 0x23
je 0x549cde
mov edx, dword [ebp + 0xc]
cmp byte [ebx + edx - 1], 0x26
je 0x549cde
inc ebx
mov eax, edx
mov al, byte [ebx + eax]
test al, al
jne 0x549c84
jmp 0x549cde
cmp al, 0x26
jne 0x549cae
mov byte [esi + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
xor al, al
jmp 0x549cd1
mov edi, 2
xor al, al
jmp 0x549cd1
test edi, edi
jne 0x549cc1
cmp al, 0x3f
je 0x549cca
jmp 0x549cd1
cmp edi, 2
jne 0x549cd1
cmp al, 0x26
jne 0x549cd1
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 0x549b98
cmp edi, 1
jne 0x549cff
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.004e3e60
lea edi, [eax + esi + 1]
add esp, 4
cmp byte [edi], 0
je 0x549ef1
push edi
call fcn.004e3e60
mov esi, eax
lea ebx, [esi + edi + 1]
push ebx
mov dword [ebp + 0xc], ebx
call fcn.004e3e60
add esp, 8
cmp esi, 3
mov dword [ebp - 0x14], eax
jne 0x549d5d
mov ecx, esi
mov esi, 0x70d028
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x549e49
mov dword [ebp - 0x24], ebx
jmp 0x549e49
cmp esi, 5
jne 0x549d8f
mov ecx, esi
mov esi, str.cache
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x549e49
mov eax, 0x60000
mov ecx, 0x737cb0
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], str.cache
jmp 0x549dca
cmp esi, 4
jne 0x549e49
mov eax, dword [edi]
mov ecx, str.mode
mov edx, dword [ecx]
cmp edx, eax
jne 0x549e49
mov eax, dword [ebp - 4]
mov ecx, 0x737cc8
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 0x549e49
mov eax, dword [ecx]
mov dword [ebp - 0x10], 0
test eax, eax
je 0x549e61
mov eax, dword [ebp - 8]
mov ebx, eax
mov edi, dword [eax]
push edi
call fcn.004e3e60
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, eax
jne 0x549e08
mov esi, dword [ebp + 0xc]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x549e04
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x549e1d
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 0x549e61
jmp 0x549de4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x549e61
mov eax, dword [ebp - 0x1c]
mov edx, ecx
and dl, 0x7f
cmp edx, eax
jg 0x549e80
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 0x549eee
jmp 0x549d24
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push str.no_such__s_mode:__s
call fcn.004e3af0
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
jmp 0x549f19
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.004e3af0
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0xc], 3
mov dword [ecx], eax
jmp 0x549f20
lea eax, [ebx + 2]
cdq
push edx
push eax
call fcn.004e1d50
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x549ec4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x549edd
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.004e1470
mov ecx, dword [ebp + 0x14]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x549f36
push edi
push str.no_such_vfs:__s
call fcn.004e3af0
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.004e1dc0
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