Function at 0x5275c0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], edx
cmp edi, ebx
jne 0x5275e9
xor esi, esi
jmp 0x527600
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5275f0
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test cl, 0x40
jne 0x527611
cmp dword [0x631934], ebx
je 0x527ae9
cmp esi, 5
jl 0x527ae9
cmp dword [edi], 0x656c6966
jne 0x527ae9
cmp byte [edi + 4], 0x3a
jne 0x527ae9
lea eax, [esi + 2]
cdq
mov dword [esp + 0x10], ebx
mov ebx, eax
or ecx, 0x40
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x527667
cmp byte [eax + edi], 0x26
jne 0x527658
mov ecx, 1
jmp 0x52765a
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x52764b
call fcn.00524d80
test eax, eax
jne 0x52769a
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, eax
je 0x52768c
push eax
push ebx
call fcn.004ab330
add esp, 8
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x527692
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x5276a6
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, 0x2f
mov esi, 5
cmp byte [edi + 5], dl
jne 0x52772e
cmp byte [edi + 6], dl
jne 0x52772e
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
mov dword [esp + 0x30], ecx
test al, al
je 0x52772e
lea ebx, [ebx]
cmp al, dl
je 0x5276dd
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x5276d0
cmp esi, 7
je 0x52772e
cmp esi, 0x10
jne 0x52770e
lea eax, [esi - 7]
mov edx, str.localhost
nop
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x52770a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x5276f0
mov al, byte [ecx]
cmp al, byte [edx]
je 0x52772a
mov ecx, dword [esp + 0x30]
push ecx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.004ad880
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x527b70
mov ebx, dword [esp + 0x18]
mov al, byte [esi + edi]
xor edx, edx
mov dword [esp + 0x1c], edx
test al, al
je 0x52789d
nop
cmp al, 0x23
je 0x52788b
inc esi
cmp al, 0x25
jne 0x5277fc
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x5e3f00], 8
je 0x5277f8
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x5e3f00], 8
je 0x5277f8
movsx edx, byte [esi + edi + 1]
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
inc esi
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
inc esi
and edx, 0xf
add ecx, edx
test ecx, ecx
jne 0x5277f0
mov al, byte [esi + edi]
test al, al
je 0x527878
mov ecx, dword [esp + 0x1c]
cmp al, 0x23
je 0x527878
test ecx, ecx
jne 0x5277c6
cmp al, 0x3f
jmp 0x5277dc
cmp ecx, 1
jne 0x5277d5
cmp al, 0x3d
je 0x527878
jmp 0x5277da
cmp ecx, 2
jne 0x5277e2
cmp al, 0x26
je 0x527878
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x5277b6
jmp 0x527878
mov ebx, dword [esp + 0x18]
mov al, cl
jmp 0x52786c
mov ebx, dword [esp + 0x18]
cmp edx, 1
jne 0x52784f
cmp al, 0x26
je 0x527809
cmp al, 0x3d
jne 0x52786c
mov ecx, dword [esp + 0x10]
cmp byte [ebx + ecx - 1], 0
jne 0x527836
mov al, byte [esi + edi]
test al, al
je 0x527878
jmp 0x527820
cmp al, 0x23
je 0x527878
cmp byte [esi + edi - 1], 0x26
je 0x527878
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x527820
jmp 0x527878
cmp al, 0x26
jne 0x527845
mov byte [ebx + ecx], 0
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x52786a
mov dword [esp + 0x1c], 2
jmp 0x52786a
test edx, edx
jne 0x527859
cmp al, 0x3f
je 0x527862
jmp 0x52786c
cmp edx, 2
jne 0x52786c
cmp al, 0x26
jne 0x52786c
mov dword [esp + 0x1c], 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ebx + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [esi + edi]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test al, al
jne 0x527740
cmp edx, 1
jne 0x52789d
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
mov byte [ebx + eax + 1], 0
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5278b0
sub eax, edx
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
lea ecx, [eax + ebx + 1]
je 0x527b43
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5278d5
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5278f5
xor ebx, ebx
jmp 0x527914
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x527900
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x527943
cmp byte [ecx], 0x76
jne 0x527aac
cmp byte [ecx + 1], 0x66
jne 0x527aac
cmp byte [ecx + 2], 0x73
jne 0x527aac
mov dword [esp + 0x3c], eax
jmp 0x527aac
cmp esi, 5
jne 0x527976
cmp dword [ecx], 0x68636163
jne 0x527aac
cmp byte [ecx + 4], 0x65
jne 0x527aac
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x632eb8
mov dword [esp + 0x28], str.cache
jmp 0x5279a9
cmp esi, 4
jne 0x527aac
cmp dword [ecx], 0x65646f6d
jne 0x527aac
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x632ed0
and eax, 0x87
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x527a59
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5279c4
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x527a44
mov edx, dword [esp + 0x10]
mov esi, ebx
cmp ebx, 4
jb 0x5279f5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5279fd
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x5279e1
test esi, esi
je 0x527a7e
movzx ebx, byte [ecx]
movzx eax, byte [edx]
sub eax, ebx
jne 0x527a38
cmp esi, 1
jbe 0x527a7a
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x527a38
cmp esi, 2
jbe 0x527a7a
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x527a38
cmp esi, 3
jbe 0x527a7a
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x18]
sar eax, 0x1f
or eax, 1
je 0x527a7e
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x5279bf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call fcn.004ad880
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x527b70
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x527a59
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x527ac0
mov ecx, dword [esp + 0x30]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x5278d0
jmp 0x527b43
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.004ad880
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x24], 3
jmp 0x527b78
lea eax, [esi + 2]
cdq
mov ebx, eax
mov dword [esp + 0x34], edx
call fcn.00524d80
test eax, eax
jne 0x52769a
mov eax, dword [esp + 0x34]
mov edx, ebx
or edx, eax
je 0x527b18
push eax
push ebx
call fcn.004ab330
add esp, 8
mov ebx, eax
jmp 0x527b1a
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x52769a
test esi, esi
je 0x527b35
push esi
push edi
push ebx
call fcn.0058ff50
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x3c]
push esi
call fcn.004aa8a0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x527be0
push esi
push str.no_such_vfs:__s
call fcn.004ad880
mov edx, dword [ebp + 0x14]
add esp, 8
mov dword [edx], eax
mov dword [esp + 0x24], 1
cmp dword [0x631928], 0
je 0x527bca
mov eax, dword [0x640888]
test eax, eax
je 0x527b94
push eax
call dword [0x631984]
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call dword [0x631960]
sub dword [0x640828], eax
dec dword [0x64084c]
add esp, 4
push esi
call dword [0x631958]
mov eax, dword [0x640888]
add esp, 4
test eax, eax
je 0x527bd8
push eax
call dword [0x63198c]
jmp 0x527bd5
mov eax, dword [esp + 0x20]
push eax
call dword [0x631958]
add esp, 4
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
pop ebx
mov esp, ebp
pop ebp
ret