Function at 0x5b7f58
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x18], 0
push ebx
push esi
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], eax
call fcn.005be774
pop ecx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
test cl, 0x40
jne 0x5b7f8e
cmp dword [0x667d54], 0
je 0x5b8337
cmp ebx, 5
jl 0x5b8337
cmp dword [edi], 0x656c6966
jne 0x5b8337
cmp byte [edi + 4], 0x3a
jne 0x5b8337
and dword [ebp - 0xc], 0
lea edx, [ebx + 2]
or ecx, 0x40
mov dword [ebp - 0x10], ecx
xor ecx, ecx
test ebx, ebx
jle 0x5b7fd0
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, ebx
jl 0x5b7fc0
push edx
call fcn.00581309
mov edx, eax
mov dword [ebp - 8], edx
pop ecx
test edx, edx
jne 0x5b7fe8
push 7
pop eax
jmp 0x5b8313
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x5b804a
cmp byte [edi + 6], 0x2f
jne 0x5b804a
lea ebx, [edi + 7]
mov al, byte [ebx]
push 7
pop esi
test al, al
je 0x5b804a
cmp al, 0x2f
je 0x5b800f
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x5b8003
cmp esi, 7
je 0x5b804a
cmp esi, 0x10
jne 0x5b802d
push 9
push ebx
push str.localhost
call fcn.0050ba8a
add esp, 0xc
test eax, eax
je 0x5b8047
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.005811fc
mov esi, dword [ebp - 8]
add esp, 0xc
jmp 0x5b82ee
mov edx, dword [ebp - 8]
mov bl, byte [esi + edi]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test bl, bl
je 0x5b8197
cmp bl, 0x23
je 0x5b8113
inc esi
cmp bl, 0x25
jne 0x5b8122
mov al, byte [esi + edi]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x610178], 8
je 0x5b8122
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x610178], 8
je 0x5b8122
movsx ecx, byte [ebp - 1]
movsx edx, byte [esi + edi + 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
sar eax, 6
and ebx, 0xf
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 - 0x14]
je 0x5b80fe
mov edx, dword [ebp - 8]
jmp 0x5b8188
cmp al, 0x23
je 0x5b8105
test ecx, ecx
jne 0x5b80e7
cmp al, 0x3f
je 0x5b8105
cmp ecx, 1
jne 0x5b80f4
cmp al, 0x3d
je 0x5b8105
cmp al, 0x26
je 0x5b8105
cmp ecx, 2
jne 0x5b80fd
cmp al, 0x26
je 0x5b8105
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x5b80db
mov edx, dword [ebp - 8]
mov bl, byte [esi + edi]
test bl, bl
jne 0x5b805a
mov eax, dword [ebp - 0xc]
cmp ecx, 1
jne 0x5b819a
mov byte [edx + eax], 0
inc eax
jmp 0x5b819a
cmp ecx, 1
jne 0x5b816d
cmp bl, 0x26
je 0x5b8131
cmp bl, 0x3d
jne 0x5b8188
mov eax, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0
je 0x5b815a
cmp bl, 0x26
jne 0x5b8163
mov ebx, eax
mov byte [edx + ebx], 0
inc ebx
mov dword [ebp - 0xc], ebx
mov eax, ebx
jmp 0x5b8169
cmp al, 0x23
je 0x5b8108
cmp byte [esi + edi - 1], 0x26
je 0x5b8108
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x5b814e
jmp 0x5b8108
push 2
pop ecx
mov dword [ebp - 0x14], ecx
xor bl, bl
jmp 0x5b818b
test ecx, ecx
jne 0x5b8176
cmp bl, 0x3f
je 0x5b8180
cmp ecx, 2
jne 0x5b8188
cmp bl, 0x26
jne 0x5b8188
xor ecx, ecx
xor bl, bl
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0xc]
mov byte [edx + eax], bl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x5b8108
mov eax, dword [ebp - 0xc]
push edx
mov word [edx + eax], 0
call fcn.005be774
inc edx
pop ecx
add edx, eax
jmp 0x5b82c0
push edx
call fcn.005be774
mov ebx, eax
lea edi, [edx + 1]
add edi, ebx
mov dword [ebp - 0x1c], ebx
push edi
call fcn.005be774
mov dword [ebp - 0x20], eax
pop ecx
pop ecx
cmp ebx, 3
jne 0x5b81e9
mov eax, 0x6676
cmp ax, word [edx]
jne 0x5b81e9
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x5b81e9
mov dword [ebp + 8], edi
jmp 0x5b82ba
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
and dword [ebp - 0x14], ebx
xor esi, esi
cmp eax, 5
jne 0x5b821a
mov ecx, 0x68636163
cmp ecx, dword [edx]
jne 0x5b821a
push 0x65
pop ecx
cmp cl, byte [edx + 4]
jne 0x5b821a
mov esi, 0x60000
mov dword [ebp - 0x14], 0x616880
mov ebx, 0x667e5c
mov dword [ebp - 0x1c], esi
cmp eax, 4
jne 0x5b8253
push eax
push edx
push str.mode
call fcn.0050ba8a
add esp, 0xc
mov dword [ebp - 0x1c], esi
test eax, eax
jne 0x5b8253
mov ecx, dword [ebp - 0x10]
mov eax, 0x87
and ecx, eax
mov dword [ebp - 0x14], str.access
mov esi, eax
mov dword [ebp - 0x1c], ecx
mov ebx, 0x667e74
test ebx, ebx
je 0x5b82ba
mov edx, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x5b8287
push edx
call fcn.005be774
pop ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x5b827d
push ecx
push edx
push edi
call fcn.0050ba8a
add esp, 0xc
test eax, eax
je 0x5b8299
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebx + eax*8]
test edx, edx
jne 0x5b8260
push edi
push dword [ebp - 0x14]
push str.no_such__s_mode:__s
jmp 0x5b8037
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebx + ecx*8 + 4]
test ecx, ecx
je 0x5b828b
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x5b831a
not esi
and esi, dword [ebp - 0x10]
or esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp - 0x20]
inc edx
add edx, edi
cmp byte [edx], 0
jne 0x5b81af
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
push edi
call fcn.0057fc66
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x5b8303
push edi
push str.no_such_vfs:__s
call fcn.005811fc
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.0058143e
pop ecx
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ecx], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x14]
push str._s_mode_not_allowed:__s
call fcn.005811fc
mov esi, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x5b82f5
lea eax, [ebx + 2]
push eax
call fcn.00581309
mov esi, eax
pop ecx
test esi, esi
je 0x5b7fe0
push ebx
push edi
push esi
call fcn.0050ac70
add esp, 0xc
mov word [esi + ebx], 0
and dword [ebp - 0x10], 0xffffffbf
jmp 0x5b82cc