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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [eax]
push ebp
push esi
push edi
push ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
call fcn.1002b0d0
mov ebp, eax
mov al, byte [esp + 0x14]
mov edx, 0x40
add esp, 4
test dl, al
jne 0x1007cb7a
mov eax, dword [0x1008ebdc]
test eax, eax
je 0x1007cf55
cmp ebp, 5
jl 0x1007cf55
mov ecx, 5
mov edi, str.file:
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1007cf55
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 0x1007cbc0
mov dl, byte [eax + ebx]
xor ecx, ecx
cmp dl, 0x26
sete cl
add esi, ecx
inc eax
cmp eax, ebp
jl 0x1007cbae
push esi
call fcn.10029500
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1007cbde
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x1c
ret
mov al, byte [ebx + 5]
mov cl, 0x2f
cmp al, cl
mov ebp, 5
jne 0x1007cc46
cmp byte [ebx + 6], cl
jne 0x1007cc46
mov al, byte [ebx + 7]
lea edx, [ebx + 7]
test al, al
mov ebp, 7
je 0x1007cc46
cmp al, cl
je 0x1007cc0d
mov al, byte [ebx + ebp + 1]
inc ebp
test al, al
jne 0x1007cc00
cmp ebp, 7
je 0x1007cc46
cmp ebp, 0x10
jne 0x1007cc29
mov ecx, 9
mov edi, edx
mov esi, str.localhost
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1007cc46
add ebp, 0xfffffff9
push edx
push ebp
push str.invalid_uri_authority:__.s
call fcn.1002add0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x1007cfcc
mov al, byte [ebx + ebp]
mov dword [esp + 0x18], 0
test al, al
je 0x1007cdc3
jmp 0x1007cc5f
mov ebx, dword [esp + 0x34]
cmp al, 0x23
je 0x1007cdab
inc ebp
cmp al, 0x25
jne 0x1007cd14
mov cl, byte [ebx + ebp]
mov edx, ecx
and edx, 0xff
test byte [edx + 0x100810d8], 8
je 0x1007cd14
xor edx, edx
mov dl, byte [ebx + ebp + 1]
test byte [edx + 0x100810d8], 8
je 0x1007cd14
mov edi, dword [esp + 0x34]
inc ebp
movsx eax, cl
movsx esi, byte [edi + ebp]
push eax
inc ebp
call fcn.1004a3b0
mov bl, al
push esi
and ebx, 0xff
shl ebx, 4
call fcn.1004a3b0
and eax, 0xff
add esp, 8
add ebx, eax
jne 0x1007cd10
mov al, byte [edi + ebp]
test al, al
je 0x1007cd9c
mov ecx, dword [esp + 0x18]
cmp al, 0x23
je 0x1007cd9c
test ecx, ecx
jne 0x1007cce6
cmp al, 0x3f
jmp 0x1007ccfc
cmp ecx, 1
jne 0x1007ccf5
cmp al, 0x3d
je 0x1007cd9c
jmp 0x1007ccfa
cmp ecx, 2
jne 0x1007cd02
cmp al, 0x26
je 0x1007cd9c
mov al, byte [edi + ebp + 1]
inc ebp
test al, al
jne 0x1007ccd6
jmp 0x1007cd9c
mov al, bl
jmp 0x1007cd8c
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jne 0x1007cd6f
cmp al, 0x26
je 0x1007cd25
cmp al, 0x3d
jne 0x1007cd8c
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
cmp byte [edx + ecx - 1], 0
jne 0x1007cd56
mov al, byte [ebx + ebp]
test al, al
je 0x1007cd9c
cmp al, 0x23
je 0x1007cd9c
mov eax, dword [esp + 0x34]
cmp byte [eax + ebp - 1], 0x26
je 0x1007cd9c
inc ebp
mov ecx, eax
mov al, byte [ecx + ebp]
test al, al
jne 0x1007cd3b
jmp 0x1007cd9c
cmp al, 0x26
jne 0x1007cd65
mov byte [edx + ecx], 0
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x1007cd8a
mov dword [esp + 0x18], 2
jmp 0x1007cd8a
test ecx, ecx
jne 0x1007cd79
cmp al, 0x3f
je 0x1007cd82
jmp 0x1007cd8c
cmp ecx, 2
jne 0x1007cd8c
cmp al, 0x26
jne 0x1007cd8c
mov dword [esp + 0x18], 1
xor al, al
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov byte [edx + ecx], al
inc ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x34]
mov al, byte [eax + ebp]
test al, al
jne 0x1007cc5b
cmp dword [esp + 0x18], 1
jne 0x1007cdc3
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov byte [ecx + eax], 0
inc eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push esi
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
call fcn.1002b0d0
lea edi, [eax + esi + 1]
add esp, 4
cmp byte [edi], 0
je 0x1007cfa1
push edi
call fcn.1002b0d0
mov esi, eax
lea ebx, [esi + edi + 1]
push ebx
mov dword [esp + 0x3c], ebx
call fcn.1002b0d0
add esp, 8
cmp esi, 3
mov dword [esp + 0x14], eax
jne 0x1007ce26
mov ecx, esi
mov esi, 0x10094bd4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1007cf18
mov dword [esp + 0x28], ebx
jmp 0x1007cf18
cmp esi, 5
jne 0x1007ce54
mov ecx, esi
mov esi, str.cache
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1007cf18
mov ebx, 0x60000
mov ebp, 0x1008fb78
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], str.cache
jmp 0x1007ce8d
cmp esi, 4
jne 0x1007cf18
mov eax, dword [edi]
mov ecx, str.mode
mov edx, dword [ecx]
cmp edx, eax
jne 0x1007cf18
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], 0x87
mov ebp, 0x1008fb90
and ebx, 0x87
mov dword [esp + 0x20], str.access
mov edi, dword [ebp]
mov dword [esp + 0x18], 0
test edi, edi
je 0x1007ced1
push edi
call fcn.1002b0d0
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, eax
jne 0x1007cec0
mov esi, dword [esp + 0x34]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1007cebc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1007ceed
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov edi, dword [ebp + eax*8]
test edi, edi
jne 0x1007ce9c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str.no_such__s_mode:__s
call fcn.1002add0
add esp, 0xc
jmp 0x1007cfc6
mov eax, dword [esp + 0x18]
mov ebp, dword [ebp + eax*8 + 4]
test ebp, ebp
je 0x1007ced1
mov ecx, ebp
and cl, 0x7f
cmp ecx, ebx
jg 0x1007cf2e
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
not eax
and eax, edx
or eax, ebp
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov al, byte [edx + ebx + 1]
lea edi, [edx + ebx + 1]
test al, al
jne 0x1007cdea
jmp 0x1007cfa1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push str._s_mode_not_allowed:__s
call fcn.1002add0
mov edx, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x1c], 3
mov dword [edx], eax
jmp 0x1007cfd4
lea eax, [ebp + 2]
push eax
call fcn.10029500
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1007cf76
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x30]
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 + 0x28]
push esi
call fcn.10028f30
mov ecx, dword [esp + 0x40]
add esp, 4
test eax, eax
mov dword [ecx], eax
jne 0x1007cfe9
push esi
push str.no_such_vfs:__s
call fcn.1002add0
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x30]
push eax
call fcn.10029710
add esp, 4
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0x2c]
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
add esp, 0x1c
ret