Function at 0x4a4d70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov edx, dword [eax]
push esi
mov dword [ebp - 0x24], ecx
push edi
mov ecx, ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], edx
call fcn.0045d380
mov esi, eax
mov dword [ebp - 0x1c], esi
test dl, 0x40
jne 0x4a4dab
cmp dword [0x687844], 0
je 0x4a51f2
cmp esi, 5
jl 0x4a51f2
push 5
push str.file:
push ebx
call fcn.005d0334
add esp, 0xc
test eax, eax
jne 0x4a51f2
or dword [ebp - 0x10], 0x40
xor edx, edx
xor edi, edi
lea eax, [esi + 2]
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
cmp esi, 2
jl 0x4a4e11
lea eax, [esi - 1]
mov esi, eax
lea esp, [esp]
xor eax, eax
cmp byte [ebx + ecx], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [ebx + ecx + 1], 0x26
sete al
add ecx, 2
add edi, eax
cmp ecx, esi
jl 0x4a4df0
mov esi, dword [ebp - 0x1c]
cmp ecx, esi
jge 0x4a4e25
xor eax, eax
cmp byte [ecx + ebx], 0x26
lea ecx, [esi + 2]
sete al
add ecx, eax
jmp 0x4a4e28
mov ecx, dword [ebp - 0x14]
lea eax, [edi + edx]
add eax, ecx
push eax
call fcn.0045b150
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x4a4e4b
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 5], 0x2f
jne 0x4a4ea8
cmp byte [ebx + 6], 0x2f
jne 0x4a4ea8
mov al, byte [ebx + 7]
lea edi, [ebx + 7]
mov esi, 7
test al, al
je 0x4a4eaf
cmp al, 0x2f
je 0x4a4e73
mov al, byte [esi + ebx + 1]
inc esi
test al, al
jne 0x4a4e66
cmp esi, 7
je 0x4a4eaf
cmp esi, 0x10
jne 0x4a4e91
push 9
push edi
push str.localhost
call fcn.005d0334
add esp, 0xc
test eax, eax
je 0x4a4eaf
push edi
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.0045c970
add esp, 0xc
jmp 0x4a51a6
mov esi, 5
jmp 0x4a4eb2
mov edi, dword [ebp - 8]
mov cl, byte [esi + ebx]
xor edx, edx
mov dword [ebp - 0x14], edx
test cl, cl
je 0x4a5041
cmp cl, 0x23
je 0x4a4f55
inc esi
cmp cl, 0x25
jne 0x4a4f8f
mov al, byte [esi + ebx]
mov byte [ebp - 1], al
movzx eax, al
test byte [eax + 0x64f338], 8
je 0x4a4f8f
movzx eax, byte [esi + ebx + 1]
test byte [eax + 0x64f338], 8
je 0x4a4f8f
movsx ecx, byte [esi + ebx + 1]
movsx edi, byte [ebp - 1]
call fcn.0045e260
movzx eax, al
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.0045e260
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
movzx eax, al
shl eax, 4
add esi, 2
add ecx, eax
jne 0x4a4f7f
mov al, byte [esi + ebx]
test al, al
je 0x4a4f47
cmp al, 0x23
je 0x4a4f47
test edx, edx
jne 0x4a4f3e
cmp al, 0x3f
jmp 0x4a4f72
cmp edx, 1
jne 0x4a4f6b
cmp al, 0x3d
jne 0x4a4f70
mov edi, dword [ebp - 8]
mov cl, byte [esi + ebx]
test cl, cl
jne 0x4a4ec2
mov eax, dword [ebp - 0xc]
cmp edx, 1
jne 0x4a5043
mov byte [edi + eax], 0
inc eax
jmp 0x4a5043
cmp edx, 2
jne 0x4a4f74
cmp al, 0x26
je 0x4a4f47
mov al, byte [esi + ebx + 1]
inc esi
test al, al
jne 0x4a4f32
jmp 0x4a4f47
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
inc eax
mov byte [edi + eax - 1], cl
mov dword [ebp - 0xc], eax
jmp 0x4a4f4a
cmp edx, 1
jne 0x4a5004
cmp cl, 0x26
je 0x4a4fa2
cmp cl, 0x3d
jne 0x4a5031
mov eax, dword [ebp - 0xc]
cmp byte [edi + eax - 1], 0
jne 0x4a4fc9
mov al, byte [esi + ebx]
test al, al
je 0x4a4f4a
cmp al, 0x23
je 0x4a4f4a
cmp byte [esi + ebx - 1], 0x26
je 0x4a4f4a
mov al, byte [esi + ebx + 1]
inc esi
test al, al
jne 0x4a4fb3
jmp 0x4a4f4a
cmp cl, 0x26
jne 0x4a4feb
mov ecx, dword [ebp - 0xc]
inc ecx
mov byte [edi + ecx - 1], 0
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor cl, cl
mov byte [edi + eax], cl
inc eax
mov dword [ebp - 0xc], eax
jmp 0x4a4f4a
mov eax, dword [ebp - 0xc]
xor cl, cl
mov byte [edi + eax], cl
mov edx, 2
inc eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
jmp 0x4a4f4a
test edx, edx
jne 0x4a501d
cmp cl, 0x3f
je 0x4a5027
mov eax, dword [ebp - 0xc]
inc eax
mov byte [edi + eax - 1], cl
mov dword [ebp - 0xc], eax
jmp 0x4a4f4a
cmp edx, 2
jne 0x4a5031
cmp cl, 0x26
jne 0x4a5031
mov edx, 1
mov dword [ebp - 0x14], edx
xor cl, cl
mov eax, dword [ebp - 0xc]
inc eax
mov byte [edi + eax - 1], cl
mov dword [ebp - 0xc], eax
jmp 0x4a4f4a
xor eax, eax
mov ecx, edi
mov word [edi + eax], 0
call fcn.0045d380
lea edx, [edi + 1]
add edx, eax
cmp byte [edx], 0
je 0x4a5181
mov edi, edi
mov ecx, edx
call fcn.0045d380
mov edi, eax
lea ebx, [edx + 1]
add ebx, edi
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.0045d380
mov esi, eax
mov dword [ebp - 0xc], esi
cmp edi, 3
jne 0x4a50a1
push edi
push edx
push 0x657bbc
call fcn.005d0334
add esp, 0xc
test eax, eax
jne 0x4a5170
mov dword [ebp - 0x24], ebx
jmp 0x4a5170
cmp edi, 5
jne 0x4a50d3
push edi
push edx
push str.cache
call fcn.005d0334
add esp, 0xc
test eax, eax
jne 0x4a5170
mov edi, 0x60000
mov ebx, 0x686fd8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], str.cache
jmp 0x4a510a
cmp edi, 4
jne 0x4a5170
push edi
push edx
push str.mode
call fcn.005d0334
add esp, 0xc
test eax, eax
jne 0x4a5170
lea edi, [eax + 7]
mov eax, dword [ebp - 0x10]
and eax, edi
mov ebx, 0x686ff4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], str.access
xor esi, esi
cmp dword [ebx], esi
je 0x4a513e
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call fcn.0045d380
cmp edx, eax
jne 0x4a5134
push edx
push ecx
push dword [ebp - 0x14]
call fcn.005d0334
add esp, 0xc
test eax, eax
je 0x4a5153
mov edx, dword [ebp - 0xc]
inc esi
cmp dword [ebx + esi*8], 0
lea eax, [ebx + esi*8]
jne 0x4a5115
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push str.no_such__s_mode:__s
call fcn.0045c970
add esp, 0xc
jmp 0x4a51a6
mov eax, dword [ebx + esi*8 + 4]
test eax, eax
je 0x4a513e
cmp eax, dword [ebp - 0x20]
jg 0x4a51d6
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
not edi
and edi, dword [ebp - 0x10]
or edi, eax
mov dword [ebp - 0x10], edi
lea edx, [ebx + 1]
add edx, esi
cmp byte [edx], 0
jne 0x4a5060
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x24]
push esi
call fcn.0045a820
mov ecx, eax
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [eax], ecx
test ecx, ecx
jne 0x4a51bf
push esi
push str.no_such_vfs:__s
call fcn.0045c970
add esp, 8
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp + 0x14]
push dword [ebp - 8]
mov dword [ecx], eax
call fcn.0045b360
add esp, 4
xor edi, edi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push str._s_mode_not_allowed:__s
call fcn.0045c970
add esp, 0xc
mov dword [ebp - 0x18], 3
jmp 0x4a51ad
lea eax, [esi + 2]
push eax
call fcn.0045b150
mov edi, eax
add esp, 4
mov dword [ebp - 8], eax
test edi, edi
je 0x4a4e3f
push esi
push ebx
push edi
call fcn.005cfcf0
add esp, 0xc
mov word [edi + esi], 0
jmp 0x4a5181