Function at 0x4a0f8e
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
and dword [esp + 0xc], 0
push ebx
push ebp
mov ebx, dword [eax]
push esi
push edi
mov edi, dword [esp + 0x30]
push edi
mov dword [esp + 0x1c], ebx
call fcn.004a6b98
mov esi, eax
pop ecx
test bl, 0x40
jne 0x4a0fc3
cmp dword [0x5168a4], 0
je 0x4a1338
cmp esi, 5
jl 0x4a1338
cmp dword [edi], 0x656c6966
jne 0x4a1338
cmp byte [edi + 4], 0x3a
jne 0x4a1338
and dword [esp + 0x10], 0
lea edx, [esi + 2]
or ebx, 0x40
xor ecx, ecx
mov dword [esp + 0x18], ebx
test esi, esi
jle 0x4a1007
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, esi
jl 0x4a0ff7
push edx
call fcn.0047b4a9
mov ebp, eax
pop ecx
push 7
test ebp, ebp
jne 0x4a101c
pop eax
jmp 0x4a13af
cmp byte [edi + 5], 0x2f
pop ecx
jne 0x4a1074
cmp byte [edi + 6], 0x2f
jne 0x4a1074
lea ebx, [edi + 7]
mov esi, ecx
mov al, byte [ebx]
test al, al
je 0x4a1077
cmp al, 0x2f
je 0x4a1040
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a1034
cmp esi, ecx
je 0x4a1077
cmp esi, 0x10
jne 0x4a105d
push 9
push ebx
push str.localhost
call fcn.004bccbc
add esp, 0xc
test eax, eax
je 0x4a1077
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.0047b3b6
add esp, 0xc
jmp 0x4a1384
push 5
pop esi
mov bl, byte [esi + edi]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test bl, bl
je 0x4a11d3
cmp bl, 0x23
je 0x4a11c3
inc esi
cmp bl, 0x25
jne 0x4a1142
mov dl, byte [esi + edi]
movzx eax, dl
test byte [eax + 0x4e1738], 8
je 0x4a1142
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x4e1738], 8
je 0x4a1142
movsx ecx, dl
movsx edx, byte [esi + edi + 1]
mov eax, ecx
sar eax, 6
add esi, 2
and al, 1
push 7
pop ebx
imul bl
mov bl, cl
sub bl, al
mov eax, edx
sar eax, 6
and ebx, 0xf
push 7
pop ecx
and al, 1
shl ebx, 4
imul cl
mov cl, dl
sub cl, al
and ecx, 0xf
add ebx, ecx
mov ecx, dword [esp + 0x14]
jne 0x4a11ac
jmp 0x4a1139
cmp al, 0x23
je 0x4a11b8
test ecx, ecx
jne 0x4a1116
cmp al, 0x3f
je 0x4a11b8
cmp ecx, 1
jne 0x4a112b
cmp al, 0x3d
je 0x4a11b8
cmp al, 0x26
je 0x4a11b8
cmp ecx, 2
jne 0x4a1138
cmp al, 0x26
je 0x4a11b8
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a1102
jmp 0x4a11b8
cmp ecx, 1
jne 0x4a1190
cmp bl, 0x26
je 0x4a1151
cmp bl, 0x3d
jne 0x4a11ac
mov eax, dword [esp + 0x10]
cmp byte [eax + ebp - 1], 0
je 0x4a117c
cmp bl, 0x26
jne 0x4a1185
mov ebx, eax
mov byte [ebx + ebp], 0
inc ebx
mov dword [esp + 0x10], ebx
mov eax, ebx
jmp 0x4a118c
cmp al, 0x23
je 0x4a11b8
cmp byte [esi + edi - 1], 0x26
je 0x4a11b8
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a1170
jmp 0x4a11b8
push 2
pop ecx
mov dword [esp + 0x14], ecx
xor bl, bl
jmp 0x4a11b0
test ecx, ecx
jne 0x4a1199
cmp bl, 0x3f
je 0x4a11a3
cmp ecx, 2
jne 0x4a11ac
cmp bl, 0x26
jne 0x4a11ac
xor ecx, ecx
xor bl, bl
inc ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov byte [eax + ebp], bl
inc eax
mov dword [esp + 0x10], eax
mov bl, byte [esi + edi]
test bl, bl
jne 0x4a1088
mov eax, dword [esp + 0x10]
cmp ecx, 1
jne 0x4a11d7
mov byte [eax + ebp], 0
inc eax
jmp 0x4a11d7
mov eax, dword [esp + 0x10]
push ebp
mov word [eax + ebp], 0
call fcn.004a6b98
lea edx, [ebp + 1]
pop ecx
add edx, eax
jmp 0x4a1311
push edx
call fcn.004a6b98
mov esi, eax
lea ebx, [edx + 1]
add ebx, esi
mov dword [esp + 0x14], esi
push ebx
call fcn.004a6b98
mov dword [esp + 0x2c], eax
pop ecx
pop ecx
cmp esi, 3
jne 0x4a122b
mov eax, 0x6676
cmp ax, word [edx]
jne 0x4a122b
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x4a122b
mov dword [esp + 0x2c], ebx
jmp 0x4a130a
mov eax, dword [esp + 0x10]
xor ecx, ecx
and dword [esp + 0x20], ecx
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], ecx
cmp eax, 5
jne 0x4a1274
mov ecx, 0x68636163
cmp ecx, dword [edx]
jne 0x4a130a
push 0x65
pop ecx
cmp cl, byte [edx + 4]
jne 0x4a130a
mov ecx, 0x60000
mov edi, 0x5170d0
mov esi, ecx
mov dword [esp + 0x20], ecx
mov ecx, str.cache
mov dword [esp + 0x14], ecx
cmp eax, 4
jne 0x4a129e
cmp dword [edx], 0x65646f6d
jne 0x4a129e
mov eax, dword [esp + 0x18]
mov edi, 0x5170e8
push 7
pop ecx
and eax, ecx
mov esi, ecx
mov ecx, str.access
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
test edi, edi
je 0x4a130a
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x10], eax
test edx, edx
je 0x4a12e0
push edx
call fcn.004a6b98
pop ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x4a12cc
push ecx
push edx
push ebx
call fcn.004bccbc
add esp, 0xc
test eax, eax
je 0x4a12ec
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [edi + eax*8]
test edx, edx
jne 0x4a12ae
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push str.no_such__s_mode:__s
jmp 0x4a1067
mov eax, dword [esp + 0x10]
mov eax, dword [edi + eax*8 + 4]
test eax, eax
je 0x4a12dc
cmp eax, dword [esp + 0x20]
jg 0x4a131c
not esi
and esi, dword [esp + 0x18]
or esi, eax
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x24]
inc edx
add edx, ebx
cmp byte [edx], 0
jne 0x4a11ee
jmp 0x4a1360
push ebx
push dword [esp + 0x18]
push str._s_mode_not_allowed:__s
call fcn.0047b3b6
add esp, 0xc
mov dword [esp + 0x1c], 3
jmp 0x4a138c
lea eax, [esi + 2]
push eax
call fcn.0047b4a9
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x4a134f
push 7
jmp 0x4a1016
push esi
push edi
push ebp
call fcn.004be440
add esp, 0xc
mov word [esi + ebp], 0
mov esi, dword [esp + 0x2c]
push esi
call fcn.0047961c
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
test ecx, ecx
jne 0x4a139b
push esi
push str.no_such_vfs:__s
call fcn.0047b3b6
pop ecx
pop ecx
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x40]
push ebp
mov dword [ecx], eax
call fcn.0047b4f0
pop ecx
xor ebp, ebp
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov dword [ecx], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret