Function at 0x4a40b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], ecx
mov eax, edi
cmp edi, edx
jne 0x4a40d8
xor esi, esi
jmp 0x4a40ee
cmp byte [edi], dl
je 0x4a40e5
lea esp, [esp]
inc eax
cmp byte [eax], dl
jne 0x4a40e0
sub eax, edi
and eax, 0x3fffffff
mov esi, eax
test cl, 0x40
jne 0x4a40ff
cmp dword [0x5ea1a4], edx
je 0x4a458f
cmp esi, 5
jl 0x4a458f
cmp dword [edi], 0x656c6966
jne 0x4a458f
cmp byte [edi + 4], 0x3a
jne 0x4a458f
or dword [ebp - 8], 0x40
xor ebx, ebx
lea ecx, [esi + 2]
xor eax, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
cmp esi, 2
jl 0x4a415b
xor ecx, ecx
cmp byte [edi + eax], 0x26
sete cl
add ebx, ecx
xor ecx, ecx
cmp byte [edi + eax + 1], 0x26
sete cl
add eax, 2
add edx, ecx
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x4a4137
mov dword [ebp - 0x14], edx
cmp eax, esi
jge 0x4a416b
xor edx, edx
cmp byte [eax + edi], 0x26
sete dl
add dword [ebp + 8], edx
call fcn.0049e370
test eax, eax
jne 0x4a418c
mov eax, dword [ebp - 0x14]
add eax, ebx
add eax, dword [ebp + 8]
push eax
call fcn.00472380
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
jne 0x4a4198
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, 0x2f
cmp byte [edi + 5], dl
jne 0x4a420e
cmp byte [edi + 6], dl
jne 0x4a420e
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
mov dword [ebp - 0x20], ecx
test al, al
je 0x4a4213
cmp al, dl
je 0x4a41c3
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a41b6
cmp esi, 7
je 0x4a4213
cmp esi, 0x10
jne 0x4a41f2
lea eax, [esi - 7]
mov edx, str.localhost
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x4a41ef
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a41d5
mov cl, byte [ecx]
cmp cl, byte [edx]
je 0x4a4213
mov ecx, dword [ebp - 0x20]
push ecx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.0047c290
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov dword [edx], eax
jmp 0x4a45f1
mov esi, 5
mov al, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0xc], edx
test al, al
je 0x4a437a
cmp al, 0x23
je 0x4a4368
inc esi
cmp al, 0x25
jne 0x4a42e7
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x5a5df0], 8
je 0x4a42e7
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x5a5df0], 8
je 0x4a42e7
movsx eax, cl
movsx ecx, byte [esi + edi + 1]
mov edx, eax
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub al, bl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
mov edx, dword [ebp - 0xc]
sub cl, bl
and eax, 0xf
shl eax, 4
add esi, 2
and ecx, 0xf
add eax, ecx
jne 0x4a4350
mov al, byte [esi + edi]
test al, al
je 0x4a435d
jmp 0x4a42b0
cmp al, 0x23
je 0x4a435d
test edx, edx
jne 0x4a42c0
cmp al, 0x3f
jmp 0x4a42d6
cmp edx, 1
jne 0x4a42cf
cmp al, 0x3d
je 0x4a435d
jmp 0x4a42d4
cmp edx, 2
jne 0x4a42dc
cmp al, 0x26
je 0x4a435d
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a42b0
jmp 0x4a435d
cmp edx, 1
jne 0x4a4333
cmp al, 0x26
je 0x4a42f4
cmp al, 0x3d
jne 0x4a4350
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
cmp byte [ebx + ecx - 1], 0
jne 0x4a431e
mov al, byte [esi + edi]
test al, al
je 0x4a435d
cmp al, 0x23
je 0x4a435d
cmp byte [esi + edi - 1], 0x26
je 0x4a435d
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a4308
jmp 0x4a435d
cmp al, 0x26
jne 0x4a432c
mov byte [ebx + ecx], 0
inc ecx
mov dword [ebp - 4], ecx
jmp 0x4a434e
mov edx, 2
jmp 0x4a434b
test edx, edx
jne 0x4a433d
cmp al, 0x3f
je 0x4a4346
jmp 0x4a4350
cmp edx, 2
jne 0x4a4350
cmp al, 0x26
jne 0x4a4350
mov edx, 1
mov dword [ebp - 0xc], edx
xor al, al
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov byte [ebx + ecx], al
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [esi + edi]
test al, al
jne 0x4a4223
cmp edx, 1
jne 0x4a437a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], 0
inc eax
jmp 0x4a437d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov word [ecx + eax], 0
cmp byte [ecx], 0
mov eax, ecx
je 0x4a4396
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x4a4390
sub eax, ecx
and eax, 0x3fffffff
cmp byte [eax + ecx + 1], 0
lea edx, [eax + ecx + 1]
je 0x4a45c6
lea esp, [esp]
mov eax, edx
inc eax
cmp byte [eax], 0
jne 0x4a43b2
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
xor esi, esi
mov dword [ebp - 0xc], ebx
mov ecx, ebx
cmp ebx, esi
jne 0x4a43d3
mov dword [ebp - 4], esi
jmp 0x4a43e9
cmp byte [ebx], 0
je 0x4a43de
inc ecx
cmp byte [ecx], 0
jne 0x4a43d8
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [ebp - 4], ecx
cmp eax, 3
jne 0x4a4413
cmp byte [edx], 0x76
jne 0x4a455d
cmp byte [edx + 1], 0x66
jne 0x4a455d
cmp byte [edx + 2], 0x73
jne 0x4a455d
mov dword [ebp - 0x18], ebx
jmp 0x4a455d
cmp eax, 5
jne 0x4a4444
cmp dword [edx], 0x68636163
jne 0x4a455d
cmp byte [edx + 4], 0x65
jne 0x4a455d
mov eax, 0x60000
mov dword [ebp - 0x20], eax
mov edi, 0x5eaed8
mov dword [ebp - 0x14], str.cache
jmp 0x4a4472
cmp eax, 4
jne 0x4a455d
cmp dword [edx], 0x65646f6d
jne 0x4a455d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], 7
mov edi, 0x5eaef0
and eax, 7
mov dword [ebp - 0x14], str.access
mov ecx, dword [edi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], esi
cmp ecx, esi
je 0x4a4521
mov eax, ecx
test ecx, ecx
je 0x4a449d
cmp byte [ecx], 0
je 0x4a4496
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x4a4490
sub eax, ecx
and eax, 0x3fffffff
cmp dword [ebp - 4], eax
jne 0x4a450e
mov esi, dword [ebp - 4]
mov edx, ebx
cmp esi, 4
jb 0x4a44c4
lea esp, [esp]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4a44c8
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4a44b0
test esi, esi
je 0x4a4540
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x4a4503
cmp esi, 1
jbe 0x4a453d
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4a4503
cmp esi, 2
jbe 0x4a453d
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4a4503
cmp esi, 3
jbe 0x4a453d
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [ebp - 0xc]
sar eax, 0x1f
or eax, 1
je 0x4a4540
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x4a4482
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push str.no_such__s_mode:__s
call fcn.0047c290
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov dword [edx], eax
jmp 0x4a45f1
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x4a4521
cmp eax, dword [ebp - 0x1c]
jg 0x4a4571
mov ecx, dword [ebp - 0x20]
not ecx
and ecx, dword [ebp - 8]
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
cmp byte [eax + ebx + 1], 0
lea edx, [eax + ebx + 1]
jne 0x4a43b0
jmp 0x4a45c6
mov eax, dword [ebp - 0x14]
push ebx
push eax
push str._s_mode_not_allowed:__s
call fcn.0047c290
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov dword [ecx], eax
mov esi, 3
jmp 0x4a45f6
call fcn.0049e370
test eax, eax
jne 0x4a418c
lea edx, [esi + 2]
push edx
call fcn.00472380
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x4a418c
push esi
push edi
push ebx
call fcn.0055ae50
add esp, 0xc
mov word [ebx + esi], 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004720d0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4a460b
mov edx, dword [ebp - 0x18]
push edx
push str.no_such_vfs:__s
call fcn.0047c290
mov ecx, dword [ebp + 0x18]
add esp, 8
mov dword [ecx], eax
mov esi, 1
mov edx, dword [ebp + 8]
push edx
call fcn.00465180
add esp, 4
mov dword [ebp + 8], 0
jmp 0x4a460e
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
pop edi
mov dword [edx], eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret