Function at 0x4a1568
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.004a7151
mov esi, eax
pop ecx
test bl, 0x40
jne 0x4a159d
cmp dword [0x517864], 0
je 0x4a1912
cmp esi, 5
jl 0x4a1912
cmp dword [edi], 0x656c6966
jne 0x4a1912
cmp byte [edi + 4], 0x3a
jne 0x4a1912
and dword [esp + 0x10], 0
lea edx, [esi + 2]
or ebx, 0x40
xor ecx, ecx
mov dword [esp + 0x18], ebx
test esi, esi
jle 0x4a15e1
xor eax, eax
cmp byte [ecx + edi], 0x26
sete al
add edx, eax
inc ecx
cmp ecx, esi
jl 0x4a15d1
push edx
call fcn.0047ba81
mov ebp, eax
pop ecx
push 7
test ebp, ebp
jne 0x4a15f6
pop eax
jmp 0x4a1989
cmp byte [edi + 5], 0x2f
pop ecx
jne 0x4a164e
cmp byte [edi + 6], 0x2f
jne 0x4a164e
lea ebx, [edi + 7]
mov esi, ecx
mov al, byte [ebx]
test al, al
je 0x4a1651
cmp al, 0x2f
je 0x4a161a
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a160e
cmp esi, ecx
je 0x4a1651
cmp esi, 0x10
jne 0x4a1637
push 9
push ebx
push str.localhost
call fcn.004bd26c
add esp, 0xc
test eax, eax
je 0x4a1651
push ebx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.0047b98e
add esp, 0xc
jmp 0x4a195e
push 5
pop esi
mov bl, byte [esi + edi]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test bl, bl
je 0x4a17ad
cmp bl, 0x23
je 0x4a179d
inc esi
cmp bl, 0x25
jne 0x4a171c
mov dl, byte [esi + edi]
movzx eax, dl
test byte [eax + 0x4e2758], 8
je 0x4a171c
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x4e2758], 8
je 0x4a171c
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 0x4a1786
jmp 0x4a1713
cmp al, 0x23
je 0x4a1792
test ecx, ecx
jne 0x4a16f0
cmp al, 0x3f
je 0x4a1792
cmp ecx, 1
jne 0x4a1705
cmp al, 0x3d
je 0x4a1792
cmp al, 0x26
je 0x4a1792
cmp ecx, 2
jne 0x4a1712
cmp al, 0x26
je 0x4a1792
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a16dc
jmp 0x4a1792
cmp ecx, 1
jne 0x4a176a
cmp bl, 0x26
je 0x4a172b
cmp bl, 0x3d
jne 0x4a1786
mov eax, dword [esp + 0x10]
cmp byte [eax + ebp - 1], 0
je 0x4a1756
cmp bl, 0x26
jne 0x4a175f
mov ebx, eax
mov byte [ebx + ebp], 0
inc ebx
mov dword [esp + 0x10], ebx
mov eax, ebx
jmp 0x4a1766
cmp al, 0x23
je 0x4a1792
cmp byte [esi + edi - 1], 0x26
je 0x4a1792
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4a174a
jmp 0x4a1792
push 2
pop ecx
mov dword [esp + 0x14], ecx
xor bl, bl
jmp 0x4a178a
test ecx, ecx
jne 0x4a1773
cmp bl, 0x3f
je 0x4a177d
cmp ecx, 2
jne 0x4a1786
cmp bl, 0x26
jne 0x4a1786
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 0x4a1662
mov eax, dword [esp + 0x10]
cmp ecx, 1
jne 0x4a17b1
mov byte [eax + ebp], 0
inc eax
jmp 0x4a17b1
mov eax, dword [esp + 0x10]
push ebp
mov word [eax + ebp], 0
call fcn.004a7151
lea edx, [ebp + 1]
pop ecx
add edx, eax
jmp 0x4a18eb
push edx
call fcn.004a7151
mov esi, eax
lea ebx, [edx + 1]
add ebx, esi
mov dword [esp + 0x14], esi
push ebx
call fcn.004a7151
mov dword [esp + 0x2c], eax
pop ecx
pop ecx
cmp esi, 3
jne 0x4a1805
mov eax, 0x6676
cmp ax, word [edx]
jne 0x4a1805
push 0x73
pop eax
cmp al, byte [edx + 2]
jne 0x4a1805
mov dword [esp + 0x2c], ebx
jmp 0x4a18e4
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 0x4a184e
mov ecx, 0x68636163
cmp ecx, dword [edx]
jne 0x4a18e4
push 0x65
pop ecx
cmp cl, byte [edx + 4]
jne 0x4a18e4
mov ecx, 0x60000
mov edi, 0x518090
mov esi, ecx
mov dword [esp + 0x20], ecx
mov ecx, str.cache
mov dword [esp + 0x14], ecx
cmp eax, 4
jne 0x4a1878
cmp dword [edx], 0x65646f6d
jne 0x4a1878
mov eax, dword [esp + 0x18]
mov edi, 0x5180a8
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 0x4a18e4
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x10], eax
test edx, edx
je 0x4a18ba
push edx
call fcn.004a7151
pop ecx
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x4a18a6
push ecx
push edx
push ebx
call fcn.004bd26c
add esp, 0xc
test eax, eax
je 0x4a18c6
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov edx, dword [edi + eax*8]
test edx, edx
jne 0x4a1888
mov ecx, dword [esp + 0x14]
push ebx
push ecx
push str.no_such__s_mode:__s
jmp 0x4a1641
mov eax, dword [esp + 0x10]
mov eax, dword [edi + eax*8 + 4]
test eax, eax
je 0x4a18b6
cmp eax, dword [esp + 0x20]
jg 0x4a18f6
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 0x4a17c8
jmp 0x4a193a
push ebx
push dword [esp + 0x18]
push str._s_mode_not_allowed:__s
call fcn.0047b98e
add esp, 0xc
mov dword [esp + 0x1c], 3
jmp 0x4a1966
lea eax, [esi + 2]
push eax
call fcn.0047ba81
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x4a1929
push 7
jmp 0x4a15f0
push esi
push edi
push ebp
call fcn.004be9f0
add esp, 0xc
mov word [esi + ebp], 0
mov esi, dword [esp + 0x2c]
push esi
call fcn.00479bf4
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [eax], ecx
test ecx, ecx
jne 0x4a1975
push esi
push str.no_such_vfs:__s
call fcn.0047b98e
pop ecx
pop ecx
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x40]
push ebp
mov dword [ecx], eax
call fcn.0047bac8
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