Function at 0x5f8ec9
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
push ebx
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
push edi
push esi
mov dword [ebp - 0xc], eax
call fcn.006017cf
test byte [ebp - 0xc], 0x40
mov ebx, eax
pop ecx
jne 0x5f8efd
cmp byte [0x78478e], 0
je 0x5f92ba
cmp ebx, 5
jl 0x5f92ba
push 5
push str.file:
push esi
call fcn.0064454b
add esp, 0xc
test eax, eax
jne 0x5f92ba
and dword [ebp - 8], eax
xor ecx, ecx
or dword [ebp - 0xc], 0x40
lea eax, [ebx + 8]
cdq
test ebx, ebx
jle 0x5f8f59
cmp byte [ecx + esi], 0x26
jne 0x5f8f3e
xor edi, edi
inc edi
and dword [ebp - 0x1c], 0
jmp 0x5f8f4f
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x28]
add eax, edi
adc edx, dword [ebp - 0x1c]
inc ecx
cmp ecx, ebx
jl 0x5f8f2f
push edx
push eax
call fcn.005bc17e
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x5f8f70
push 7
pop eax
jmp 0x5f934b
push 4
push 0
push edi
call fcn.00644240
mov edx, dword [ebp + 0xc]
add esp, 0xc
add edi, 4
cmp byte [edx + 5], 0x2f
push 5
pop esi
jne 0x5f8fe2
cmp byte [edx + 6], 0x2f
jne 0x5f8fe2
lea ebx, [edx + 7]
mov al, byte [ebx]
push 7
pop esi
test al, al
je 0x5f8fe2
cmp al, 0x2f
je 0x5f8faa
inc esi
mov al, byte [esi + edx]
test al, al
jne 0x5f8f9e
cmp esi, 7
je 0x5f8fe2
cmp esi, 0x10
jne 0x5f8fc8
push 9
push ebx
push str.localhost
call fcn.0064454b
add esp, 0xc
test eax, eax
je 0x5f8fdf
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.005bbfcf
add esp, 0xc
jmp 0x5f9326
mov edx, dword [ebp + 0xc]
mov bl, byte [esi + edx]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test bl, bl
je 0x5f913a
cmp bl, 0x23
je 0x5f912b
inc esi
cmp bl, 0x25
jne 0x5f90b0
mov al, byte [esi + edx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x718660], 8
je 0x5f90b0
movzx eax, byte [esi + edx + 1]
test byte [eax + 0x718660], 8
je 0x5f90b0
movsx ecx, byte [ebp - 1]
movsx edx, byte [esi + edx + 1]
mov eax, ecx
sar eax, 6
mov bl, cl
and al, 1
mov cl, dl
movzx eax, al
add esi, 2
imul eax, eax, 7
sub bl, al
mov eax, edx
mov edx, dword [ebp + 0xc]
and ebx, 0xf
sar eax, 6
and al, 1
shl ebx, 4
movzx eax, al
imul eax, eax, 7
sub cl, al
and ecx, 0xf
add ebx, ecx
mov ecx, dword [ebp - 0x10]
jne 0x5f9116
jmp 0x5f90a7
cmp al, 0x23
je 0x5f9120
test ecx, ecx
jne 0x5f9088
cmp al, 0x3f
je 0x5f9120
cmp ecx, 1
jne 0x5f909d
cmp al, 0x3d
je 0x5f9120
cmp al, 0x26
je 0x5f9120
cmp ecx, 2
jne 0x5f90a6
cmp al, 0x26
je 0x5f9120
inc esi
mov al, byte [esi + edx]
test al, al
jne 0x5f9074
jmp 0x5f9120
cmp ecx, 1
jne 0x5f90fb
cmp bl, 0x26
je 0x5f90bf
cmp bl, 0x3d
jne 0x5f9116
mov eax, dword [ebp - 8]
cmp byte [edi + eax - 1], 0
je 0x5f90e8
cmp bl, 0x26
jne 0x5f90f1
mov ebx, eax
mov byte [edi + ebx], 0
inc ebx
mov dword [ebp - 8], ebx
mov eax, ebx
jmp 0x5f90f7
cmp al, 0x23
je 0x5f9120
cmp byte [esi + edx - 1], 0x26
je 0x5f9120
inc esi
mov al, byte [esi + edx]
test al, al
jne 0x5f90dc
jmp 0x5f9120
push 2
pop ecx
mov dword [ebp - 0x10], ecx
xor bl, bl
jmp 0x5f9119
test ecx, ecx
jne 0x5f9104
cmp bl, 0x3f
je 0x5f910e
cmp ecx, 2
jne 0x5f9116
cmp bl, 0x26
jne 0x5f9116
xor ecx, ecx
xor bl, bl
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov byte [edi + eax], bl
inc eax
mov dword [ebp - 8], eax
mov bl, byte [esi + edx]
test bl, bl
jne 0x5f8ff2
mov eax, dword [ebp - 8]
cmp ecx, 1
jne 0x5f913d
mov byte [edi + eax], 0
inc eax
jmp 0x5f913d
mov eax, dword [ebp - 8]
push 4
add eax, edi
push 0
push eax
call fcn.00644240
push edi
call fcn.006017cf
add esp, 0x10
lea ebx, [edi + 1]
jmp 0x5f9291
push ebx
call fcn.006017cf
mov esi, eax
lea eax, [ebx + 1]
add eax, esi
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 8], eax
call fcn.006017cf
mov dword [ebp - 0x20], eax
pop ecx
pop ecx
cmp esi, 3
jne 0x5f919b
push esi
push ebx
push 0x723e84
call fcn.0064454b
add esp, 0xc
test eax, eax
jne 0x5f919b
mov eax, dword [ebp - 8]
mov dword [ebp + 8], eax
jmp 0x5f928d
xor eax, eax
xor esi, esi
and dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, 5
jne 0x5f91d7
push eax
push ebx
push str.cache
call fcn.0064454b
add esp, 0xc
test eax, eax
jne 0x5f91d4
mov eax, 0x7849a0
mov dword [ebp - 0x10], str.cache
mov esi, 0x60000
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], esi
cmp eax, 4
jne 0x5f9212
push eax
push ebx
push str.mode
mov dword [ebp - 0x18], esi
call fcn.0064454b
add esp, 0xc
test eax, eax
jne 0x5f9212
mov ecx, dword [ebp - 0xc]
mov eax, 0x87
and ecx, eax
mov dword [ebp - 0x10], str.access
mov esi, eax
mov dword [ebp - 0x18], ecx
mov ebx, 0x7849b8
jmp 0x5f9215
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5f928a
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx], ecx
je 0x5f9259
mov eax, ebx
mov eax, dword [eax]
push eax
mov dword [ebp - 0x24], eax
call fcn.006017cf
pop ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x5f924a
push ecx
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.0064454b
add esp, 0xc
test eax, eax
je 0x5f9269
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ebx + eax*8]
cmp dword [eax], 0
jne 0x5f9224
push dword [ebp - 8]
push dword [ebp - 0x10]
push str.no_such__s_mode:__s
jmp 0x5f8fd2
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebx + ecx*8 + 4]
test ecx, ecx
je 0x5f9259
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x18]
jg 0x5f929e
not esi
and esi, dword [ebp - 0xc]
or esi, ecx
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x20]
inc ebx
add ebx, eax
cmp byte [ebx], 0
jne 0x5f915a
jmp 0x5f9304
push dword [ebp - 8]
push dword [ebp - 0x10]
push str._s_mode_not_allowed:__s
call fcn.005bbfcf
add esp, 0xc
mov dword [ebp - 0x14], 3
jmp 0x5f932d
lea eax, [ebx + 8]
cdq
push edx
push eax
call fcn.005bc17e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x5f8f68
push 4
push 0
push edi
call fcn.00644240
add esp, 0xc
add edi, 4
test ebx, ebx
je 0x5f92f0
push ebx
push esi
push edi
call fcn.00643300
add esp, 0xc
push 4
lea eax, [edi + ebx]
push 0
push eax
call fcn.00644240
add esp, 0xc
and dword [ebp - 0xc], 0xffffffbf
mov esi, dword [ebp + 8]
push esi
call fcn.005bd876
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x5f933b
push esi
push str.no_such_vfs:__s
call fcn.005bbfcf
pop ecx
pop ecx
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push edi
call fcn.005be0a9
pop ecx
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret