Function at 0x529250
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ecx
push edi
mov edi, esi
test esi, esi
je 0x529284
cmp byte [esi], 0
je 0x52927c
inc edi
cmp byte [edi], 0
jne 0x529276
sub edi, esi
and edi, 0x3fffffff
test cl, 0x40
jne 0x529296
cmp dword [0x65d0ec], 0
je 0x5297c8
cmp edi, 5
jb 0x5297c8
cmp dword [esi], 0x656c6966
jne 0x5297c8
cmp byte [esi + 4], 0x3a
jne 0x5297c8
or ecx, 0x40
lea eax, [edi + 2]
xor edx, edx
mov dword [ebp - 0xc], ecx
xor ebx, ebx
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], eax
cmp edi, 2
jb 0x529304
lea ebx, [edi - 1]
nop dword [eax + eax]
xor eax, eax
cmp byte [esi + ecx], 0x26
sete al
add edx, eax
xor eax, eax
cmp byte [esi + ecx + 1], 0x26
sete al
add ecx, 2
add dword [ebp + 0xc], eax
cmp ecx, ebx
jl 0x5292e0
mov dword [ebp - 0x18], edx
xor ebx, ebx
cmp ecx, edi
mov edi, dword [ebp - 0x1c]
jge 0x529316
xor eax, eax
cmp byte [ecx + esi], 0x26
sete al
add edi, eax
call fcn.00542d30
test eax, eax
jne 0x5297fc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
add eax, ecx
add eax, edi
push eax
call fcn.00526740
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x5297fc
cmp byte [esi + 5], 0x2f
jne 0x5293ac
cmp byte [esi + 6], 0x2f
jne 0x5293ac
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x5293b1
nop dword [eax]
cmp cl, 0x2f
je 0x52936e
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x529360
cmp eax, 7
je 0x5293b1
cmp eax, 0x10
jne 0x529395
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x529395
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x529395
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x5293b1
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call fcn.004d89d0
add esp, 0xc
jmp 0x52977c
mov eax, 5
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x529557
nop
cmp dl, 0x23
je 0x529476
inc eax
cmp dl, 0x25
jne 0x5294b0
mov cl, byte [eax + esi]
mov byte [ebp + 0xf], cl
movzx ecx, cl
test byte [ecx + 0x5f0220], 8
je 0x5294b0
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x5f0220], 8
je 0x5294b0
movsx ebx, byte [ebp + 0xf]
movsx ecx, byte [eax + esi + 1]
mov edx, ebx
mov dword [ebp + 0xc], ecx
add eax, 2
sar edx, 6
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
and ebx, 0xf
shl ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
sar ecx, 6
and cl, 1
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, bl
sub cl, dl
mov edx, dword [ebp - 0x1c]
and ecx, 0xf
add edx, ecx
jne 0x5294a1
mov cl, byte [eax + esi]
test cl, cl
je 0x529468
nop dword [eax + eax]
cmp cl, 0x23
je 0x529468
test edi, edi
jne 0x52945e
cmp cl, 0x3f
jmp 0x529494
cmp edi, 1
jne 0x52948c
cmp cl, 0x3d
jne 0x529491
mov ebx, dword [ebp - 8]
mov dl, byte [eax + esi]
test dl, dl
jne 0x5293c0
mov eax, dword [ebp - 4]
cmp edi, 1
jne 0x52955a
mov byte [eax + ebx], 0
inc ebx
jmp 0x52955a
cmp edi, 2
jne 0x529496
cmp cl, 0x26
je 0x529468
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x529450
jmp 0x529468
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp - 8], ebx
jmp 0x52946b
cmp edi, 1
jne 0x52951f
cmp dl, 0x26
je 0x5294c3
cmp dl, 0x3d
jne 0x529548
mov ecx, dword [ebp - 4]
cmp byte [ecx + ebx - 1], 0
jne 0x5294eb
mov cl, byte [eax + esi]
test cl, cl
je 0x52946b
cmp cl, 0x23
je 0x52946b
cmp byte [eax + esi - 1], 0x26
je 0x52946b
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x5294d4
jmp 0x52946b
cmp dl, 0x26
jne 0x529509
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov byte [edx + ebx], 0
inc ebx
xor dl, dl
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp - 8], ebx
jmp 0x52946b
mov ecx, dword [ebp - 4]
xor dl, dl
mov edi, 2
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp - 8], ebx
jmp 0x52946b
test edi, edi
jne 0x529537
cmp dl, 0x3f
je 0x529541
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp - 8], ebx
jmp 0x52946b
cmp edi, 2
jne 0x529548
cmp dl, 0x26
jne 0x529548
mov edi, 1
xor dl, dl
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx], dl
inc ebx
mov dword [ebp - 8], ebx
jmp 0x52946b
mov eax, dword [ebp - 4]
mov word [eax + ebx], 0
mov ebx, dword [ebp - 4]
mov eax, ebx
cmp byte [ebx], 0
je 0x529576
nop word [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x529570
sub eax, ebx
lea ecx, [ebx + 1]
and eax, 0x3fffffff
add ecx, eax
cmp byte [ecx], 0
je 0x529757
mov ebx, 0x6676
mov eax, ecx
inc eax
cmp byte [eax], 0
jne 0x529592
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 8], edx
mov edi, edx
jne 0x5295af
xor edi, edi
jmp 0x5295c2
cmp byte [edx], 0
je 0x5295ba
inc edi
cmp byte [edi], 0
jne 0x5295b4
sub edi, edx
and edi, 0x3fffffff
cmp eax, 3
jne 0x5295e3
cmp bx, word [ecx]
jne 0x5295e3
mov ebx, 0x73
cmp bl, byte [ecx + 2]
mov ebx, 0x6676
jne 0x5295e3
mov dword [ebp + 8], edx
jmp 0x529745
xor ebx, ebx
xor esi, esi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
cmp eax, 5
jne 0x52961f
mov edx, 0x68636163
cmp edx, dword [ecx]
jne 0x52961f
mov edx, 0x65
cmp dl, byte [ecx + 4]
jne 0x52961f
mov esi, 0x60000
mov dword [ebp - 0x14], str.cache
mov ebx, 0x660708
mov dword [ebp - 0x1c], esi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], esi
cmp eax, 4
jne 0x52967f
mov edx, str.mode
mov eax, dword [edx]
cmp eax, dword [ecx]
je 0x52964e
cmp al, byte [ecx]
jne 0x529652
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x529652
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x529652
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x529652
xor eax, eax
jmp 0x529657
sbb eax, eax
or eax, 1
mov dword [ebp - 0x18], esi
test eax, eax
jne 0x52967f
mov edx, dword [ebp - 0xc]
mov eax, 0x660720
and edx, 7
mov dword [ebp - 0x1c], 7
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], str.access
jmp 0x52968a
test ebx, ebx
je 0x529740
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
xor ebx, ebx
test ecx, ecx
je 0x52970e
mov eax, ecx
test ecx, ecx
je 0x5296ae
cmp byte [ecx], 0
je 0x5296a7
inc eax
cmp byte [eax], 0
jne 0x5296a1
sub eax, ecx
and eax, 0x3fffffff
cmp edi, eax
jne 0x529703
mov edx, dword [ebp - 8]
mov esi, edi
sub esi, 4
jb 0x5296d1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5296d6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x5296c0
cmp esi, 0xfffffffc
je 0x529723
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x529703
cmp esi, 0xfffffffd
je 0x529723
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x529703
cmp esi, 0xfffffffe
je 0x529723
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x529703
cmp esi, 0xffffffff
je 0x529723
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x529723
mov eax, dword [ebp + 0xc]
inc ebx
mov ecx, dword [eax + ebx*8]
test ecx, ecx
jne 0x529696
push dword [ebp - 8]
push dword [ebp - 0x14]
push str.no_such__s_mode:__s
call fcn.004d89d0
add esp, 0xc
jmp 0x52977c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x52970e
cmp eax, dword [ebp - 0x18]
jg 0x5297ac
mov ecx, dword [ebp - 0x1c]
not ecx
and ecx, dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ebx, 0x6676
mov ecx, dword [ebp - 8]
inc ecx
add ecx, edi
cmp byte [ecx], 0
jne 0x529590
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call fcn.004d6070
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x529795
push esi
push str.no_such_vfs:__s
call fcn.004d89d0
add esp, 8
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x1c]
push dword [ebp - 4]
mov dword [ecx], eax
call fcn.004d8ef0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ecx], ebx
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push dword [ebp - 0x14]
push str._s_mode_not_allowed:__s
call fcn.004d89d0
add esp, 0xc
mov dword [ebp - 0x10], 3
jmp 0x529783
call fcn.00542d30
test eax, eax
jne 0x5297fc
lea eax, [edi + 2]
push eax
call fcn.00526740
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x5297fc
push edi
push esi
push ebx
call fcn.005b96a0
add esp, 0xc
mov word [ebx + edi], 0
jmp 0x529757
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret