Function at 0x5f8d40
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x38]
mov ebx, dword [eax]
xor ebp, ebp
mov dword [esp + 0x30], ecx
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebx
call fcn.005cabe0
mov esi, eax
test bl, 0x40
jne 0x5f8d77
cmp dword [0x85b214], ebp
je 0x5f91d3
cmp esi, 5
jl 0x5f91d3
cmp dword [edi], 0x656c6966
jne 0x5f91d3
cmp byte [edi + 4], 0x3a
jne 0x5f91d3
xor eax, eax
or ebx, 0x40
xor ecx, ecx
cmp esi, 2
lea edx, [esi + 2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ebx
jl 0x5f8dd6
lea edx, [esi - 1]
xor ebx, ebx
cmp byte [edi + eax], 0x26
sete bl
add ecx, ebx
xor ebx, ebx
cmp byte [edi + eax + 1], 0x26
sete bl
add eax, 2
add ebp, ebx
cmp eax, edx
jl 0x5f8db4
mov edx, dword [esp + 0x2c]
cmp eax, esi
jge 0x5f8de5
xor ebx, ebx
cmp byte [eax + edi], 0x26
sete bl
add edx, ebx
add ebp, ecx
add ebp, edx
push ebp
call fcn.005f4e00
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5f8e07
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x24
ret
mov cl, 0x2f
cmp byte [edi + 5], cl
jne 0x5f8e7a
cmp byte [edi + 6], cl
jne 0x5f8e7a
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x5f8e7f
cmp al, cl
je 0x5f8e2f
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x5f8e22
cmp esi, 7
je 0x5f8e7f
cmp esi, 0x10
jne 0x5f8e5d
lea eax, [esi - 7]
mov ecx, ebx
mov edx, 0x7d2684
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x5f8e5d
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x5f8e43
mov al, byte [ecx]
cmp al, byte [edx]
je 0x5f8e7f
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.005dc970
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x5f9231
mov esi, 5
mov bl, byte [esi + edi]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test bl, bl
je 0x5f8fe4
cmp bl, 0x23
je 0x5f8fce
inc esi
cmp bl, 0x25
jne 0x5f8f3a
mov al, byte [esi + edi]
movzx edx, al
test byte [edx + 0x7cd4b8], 8
je 0x5f8f3a
movzx edx, byte [esi + edi + 1]
test byte [edx + 0x7cd4b8], 8
je 0x5f8f3a
movsx ebp, byte [esi + edi + 1]
movsx eax, al
inc esi
call fcn.005cb8d0
movzx ebx, al
mov eax, ebp
shl ebx, 4
call fcn.005cb8d0
movzx eax, al
add ebx, eax
inc esi
test ebx, ebx
jne 0x5f8faf
mov al, byte [esi + edi]
test al, al
je 0x5f8fbf
mov ecx, dword [esp + 0x1c]
lea esp, [esp]
cmp al, 0x23
je 0x5f8fbf
test ecx, ecx
jne 0x5f8f10
cmp al, 0x3f
jmp 0x5f8f26
cmp ecx, 1
jne 0x5f8f1f
cmp al, 0x3d
je 0x5f8fbf
jmp 0x5f8f24
cmp ecx, 2
jne 0x5f8f2c
cmp al, 0x26
je 0x5f8fbf
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x5f8f00
jmp 0x5f8fbf
cmp ecx, 1
jne 0x5f8f90
cmp bl, 0x26
je 0x5f8f49
cmp bl, 0x3d
jne 0x5f8faf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0
jne 0x5f8f76
mov al, byte [esi + edi]
test al, al
je 0x5f8fbf
nop
cmp al, 0x23
je 0x5f8fbf
cmp byte [esi + edi - 1], 0x26
je 0x5f8fbf
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x5f8f60
jmp 0x5f8fbf
cmp bl, 0x26
jne 0x5f8f86
mov byte [ecx + eax], 0
inc eax
mov dword [esp + 0x14], eax
jmp 0x5f8fad
mov dword [esp + 0x1c], 2
jmp 0x5f8fad
test ecx, ecx
jne 0x5f8f9b
cmp bl, 0x3f
je 0x5f8fa5
jmp 0x5f8faf
cmp ecx, 2
jne 0x5f8faf
cmp bl, 0x26
jne 0x5f8faf
mov dword [esp + 0x1c], 1
xor bl, bl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [ecx + eax], bl
inc eax
mov dword [esp + 0x14], eax
mov bl, byte [esi + edi]
mov ecx, dword [esp + 0x1c]
test bl, bl
jne 0x5f8e90
cmp ecx, 1
jne 0x5f8fe4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov byte [edx + eax], 0
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
call fcn.005cabe0
cmp byte [eax + ecx + 1], 0
lea edx, [eax + ecx + 1]
je 0x5f9206
mov ebx, 0x60000
mov edi, edi
mov ecx, edx
call fcn.005cabe0
mov esi, eax
lea ecx, [esi + edx + 1]
mov dword [esp + 0x14], ecx
call fcn.005cabe0
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp esi, 3
jne 0x5f9057
cmp byte [edx], 0x76
jne 0x5f919b
cmp byte [edx + 1], 0x66
jne 0x5f919b
cmp byte [edx + 2], 0x73
jne 0x5f919b
mov dword [esp + 0x30], ecx
jmp 0x5f919b
cmp esi, 5
jne 0x5f9089
cmp dword [edx], 0x68636163
jne 0x5f919b
cmp byte [edx + 4], 0x65
jne 0x5f919b
mov dword [esp + 0x2c], ebx
mov edi, 0x85c01c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], str.cache
jmp 0x5f90c0
cmp esi, 4
jne 0x5f919b
cmp dword [edx], 0x65646f6d
jne 0x5f919b
mov eax, dword [esp + 0x18]
and eax, 0x87
mov dword [esp + 0x2c], 0x87
mov edi, 0x85c034
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], str.access
mov ecx, dword [edi]
xor ebx, ebx
test ecx, ecx
je 0x5f914c
lea esp, [esp]
call fcn.005cabe0
cmp ebp, eax
jne 0x5f9143
mov edx, dword [esp + 0x14]
mov esi, ebp
cmp ebp, 4
jb 0x5f90f8
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5f90fc
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x5f90e4
test esi, esi
je 0x5f916c
movzx eax, byte [edx]
movzx ebp, byte [ecx]
sub eax, ebp
jne 0x5f9137
cmp esi, 1
jbe 0x5f9168
movzx eax, byte [edx + 1]
movzx ebp, byte [ecx + 1]
sub eax, ebp
jne 0x5f9137
cmp esi, 2
jbe 0x5f9168
movzx eax, byte [edx + 2]
movzx ebp, byte [ecx + 2]
sub eax, ebp
jne 0x5f9137
cmp esi, 3
jbe 0x5f9168
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebp, dword [esp + 0x1c]
sar eax, 0x1f
or eax, 1
je 0x5f916c
mov ecx, dword [edi + ebx*8 + 8]
inc ebx
test ecx, ecx
jne 0x5f90d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push str.no_such__s_mode:__s
call fcn.005dc970
add esp, 0xc
jmp 0x5f922b
mov ebp, dword [esp + 0x1c]
mov eax, dword [edi + ebx*8 + 4]
test eax, eax
je 0x5f914c
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x28]
jg 0x5f91ac
mov ecx, dword [esp + 0x2c]
not ecx
and ecx, dword [esp + 0x18]
mov ebx, 0x60000
or ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp byte [ecx + ebp + 1], 0
lea edx, [ecx + ebp + 1]
jne 0x5f9010
jmp 0x5f9206
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push str._s_mode_not_allowed:__s
call fcn.005dc970
mov edx, dword [esp + 0x50]
add esp, 0xc
mov dword [edx], eax
mov dword [esp + 0x20], 3
jmp 0x5f9239
lea eax, [esi + 2]
push eax
call fcn.005f4e00
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, ebp
je 0x5f8dfa
push esi
push edi
push ebx
call fcn.00564f70
add esp, 0xc
and dword [esp + 0x18], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x30]
push esi
call fcn.005d4cb0
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x5f924e
push esi
push str.no_such_vfs:__s
call fcn.005dc970
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
push eax
call fcn.005ca910
add esp, 4
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0xc]
pop esi
pop ebp
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
pop ebx
add esp, 0x24
ret