Function at 0x51efb0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x51efd3
xor edi, edi
jmp 0x51efea
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x51efd8
sub edi, ecx
mov ecx, dword [ebp - 4]
and edi, 0x3fffffff
test cl, 0x40
jne 0x51effc
cmp byte [0x5ac1ce], 0
je 0x51f4e3
cmp edi, 5
jb 0x51f4e3
cmp dword [esi], 0x656c6966
jne 0x51f4e3
cmp byte [esi + 4], 0x3a
jne 0x51f4e3
or ecx, 0x40
mov dword [ebp - 8], 0
xor edx, edx
mov dword [ebp - 4], ecx
lea ebx, [edi + 8]
xor eax, eax
nop
cmp byte [eax + esi], 0x26
jne 0x51f03d
mov ecx, 1
jmp 0x51f03f
xor ecx, ecx
add ebx, ecx
adc edx, 0
inc eax
cmp eax, edi
jl 0x51f030
mov dword [ebp + 0xc], edx
call fcn.00544b90
test eax, eax
jne 0x51f52b
push dword [ebp + 0xc]
push ebx
call fcn.0051c500
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x51f52b
mov dword [ebx], 0
mov eax, 5
add ebx, 4
cmp byte [esi + 5], 0x2f
mov dword [ebp + 0xc], ebx
jne 0x51f0f3
cmp byte [esi + 6], 0x2f
jne 0x51f0f3
mov cl, byte [esi + 7]
lea edx, [esi + 7]
mov eax, 7
test cl, cl
je 0x51f0f3
jmp 0x51f0a0
cmp cl, 0x2f
je 0x51f0ae
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x51f0a0
cmp eax, 7
je 0x51f0f3
cmp eax, 0x10
jne 0x51f0d5
mov ecx, 0x61636f6c
cmp ecx, dword [edx]
jne 0x51f0d5
mov ecx, 0x736f686c
cmp ecx, dword [edx + 4]
jne 0x51f0d5
mov ecx, 0x74
cmp cl, byte [edx + 8]
je 0x51f0f3
push edx
add eax, 0xfffffff9
mov dword [ebp - 0xc], 1
push eax
push str.invalid_uri_authority:__.s
call fcn.004cd250
add esp, 0xc
jmp 0x51f49e
mov dl, byte [eax + esi]
xor edi, edi
test dl, dl
je 0x51f290
cmp dl, 0x23
je 0x51f1a6
inc eax
cmp dl, 0x25
jne 0x51f1e3
mov bl, byte [eax + esi]
movzx ecx, bl
test byte [ecx + 0x58b690], 8
je 0x51f1e0
movzx ecx, byte [eax + esi + 1]
test byte [ecx + 0x58b690], 8
je 0x51f1e0
mov ch, byte [eax + esi + 1]
mov dl, bl
sar dl, 6
add eax, 2
and dl, 1
mov cl, dl
shl cl, 3
sub cl, dl
sub bl, cl
mov cl, ch
sar cl, 6
and ebx, 0xf
and cl, 1
add ebx, ebx
mov dl, cl
shl dl, 3
sub dl, cl
mov cl, ch
sub cl, dl
and ecx, 0xf
lea edx, [ecx + ebx*8]
test edx, edx
jne 0x51f1d1
mov cl, byte [eax + esi]
test cl, cl
je 0x51f198
lea esp, [esp]
cmp cl, 0x23
je 0x51f198
test edi, edi
jne 0x51f18e
cmp cl, 0x3f
jmp 0x51f1c4
cmp edi, 1
jne 0x51f1bc
cmp cl, 0x3d
jne 0x51f1c1
mov ebx, dword [ebp + 0xc]
mov dl, byte [eax + esi]
test dl, dl
jne 0x51f100
mov eax, dword [ebp - 8]
cmp edi, 1
jne 0x51f292
mov byte [ebx + eax], 0
inc eax
jmp 0x51f292
cmp edi, 2
jne 0x51f1c6
cmp cl, 0x26
je 0x51f198
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x51f180
jmp 0x51f198
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x51f19b
mov ebx, dword [ebp + 0xc]
cmp edi, 1
jne 0x51f258
cmp dl, 0x26
je 0x51f1f6
cmp dl, 0x3d
jne 0x51f281
mov ecx, dword [ebp - 8]
cmp byte [ebx + ecx - 1], 0
jne 0x51f221
mov cl, byte [eax + esi]
test cl, cl
je 0x51f19b
cmp cl, 0x23
je 0x51f19b
cmp byte [eax + esi - 1], 0x26
je 0x51f19b
mov cl, byte [eax + esi + 1]
inc eax
test cl, cl
jne 0x51f207
jmp 0x51f19b
cmp dl, 0x26
jne 0x51f242
mov edx, dword [ebp - 8]
mov byte [ebx + edx], 0
inc edx
mov dword [ebp - 8], edx
xor dl, dl
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x51f19b
mov ecx, dword [ebp - 8]
xor dl, dl
mov edi, 2
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x51f19b
test edi, edi
jne 0x51f270
cmp dl, 0x3f
je 0x51f27a
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x51f19b
cmp edi, 2
jne 0x51f281
cmp dl, 0x26
jne 0x51f281
mov edi, 1
xor dl, dl
mov ecx, dword [ebp - 8]
mov byte [ebx + ecx], dl
inc ecx
mov dword [ebp - 8], ecx
jmp 0x51f19b
xor eax, eax
mov dword [ebx + eax], 0
test ebx, ebx
jne 0x51f2a1
xor ecx, ecx
jmp 0x51f2b5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51f2a6
sub ecx, edx
and ecx, 0x3fffffff
lea edx, [ebx + 1]
add edx, ecx
cmp byte [edx], 0
je 0x51f472
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51f2c8
sub ecx, esi
lea ebx, [edx + 1]
and ecx, 0x3fffffff
add ebx, ecx
mov dword [ebp - 8], ebx
jne 0x51f2e5
xor edi, edi
jmp 0x51f2ff
mov edi, ebx
lea esi, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x51f2f0
sub edi, esi
and edi, 0x3fffffff
cmp ecx, 3
jne 0x51f320
mov eax, 0x6676
cmp ax, word [edx]
jne 0x51f320
mov eax, 0x73
cmp al, byte [edx + 2]
jne 0x51f320
mov dword [ebp + 8], ebx
jmp 0x51f461
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
cmp ecx, 5
jne 0x51f362
mov ebx, 0x68636163
cmp ebx, dword [edx]
mov ebx, dword [ebp - 8]
jne 0x51f362
mov ebx, 0x65
cmp bl, byte [edx + 4]
mov ebx, dword [ebp - 8]
jne 0x51f362
mov eax, 0x60000
mov dword [ebp - 0x14], str.cache
mov esi, 0x5ad428
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
cmp ecx, 4
jne 0x51f392
cmp dword [edx], 0x65646f6d
jne 0x51f392
mov eax, dword [ebp - 4]
mov esi, 0x5ad440
and eax, 0x87
mov dword [ebp - 0x18], 0x87
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], str.access
jmp 0x51f39d
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x51f461
mov esi, dword [esi]
xor ebx, ebx
test esi, esi
je 0x51f41e
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51f3b0
sub ecx, edx
and ecx, 0x3fffffff
cmp edi, ecx
jne 0x51f413
mov ecx, dword [ebp - 8]
mov edx, edi
sub edx, 4
jb 0x51f3e1
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x51f3e6
add ecx, 4
add esi, 4
sub edx, 4
jae 0x51f3d0
cmp edx, 0xfffffffc
je 0x51f43a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x51f413
cmp edx, 0xfffffffd
je 0x51f43a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x51f413
cmp edx, 0xfffffffe
je 0x51f43a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x51f413
cmp edx, 0xffffffff
je 0x51f43a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x51f43a
mov eax, dword [ebp - 0x10]
inc ebx
mov esi, dword [eax + ebx*8]
test esi, esi
jne 0x51f3a5
push dword [ebp - 8]
mov dword [ebp - 0xc], 1
push dword [ebp - 0x14]
push str.no_such__s_mode:__s
call fcn.004cd250
add esp, 0xc
jmp 0x51f49e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + ebx*8 + 4]
test ecx, ecx
je 0x51f41e
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x1c]
jg 0x51f4c7
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
not eax
and eax, dword [ebp - 4]
or eax, ecx
mov dword [ebp - 4], eax
lea edx, [ebx + 1]
add edx, edi
cmp byte [edx], 0
jne 0x51f2c3
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.004d4440
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x51f4b0
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0xc], 1
call fcn.004cd250
add esp, 8
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004ce1c0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
mov dword [ecx], ebx
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov dword [ebp - 0xc], 3
push dword [ebp - 0x14]
push str._s_mode_not_allowed:__s
call fcn.004cd250
add esp, 0xc
jmp 0x51f49e
call fcn.00544b90
test eax, eax
jne 0x51f52b
lea eax, [edi + 8]
push 0
push eax
call fcn.0051c500
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x51f52b
mov dword [ebx], 0
add ebx, 4
mov dword [ebp + 0xc], ebx
test edi, edi
je 0x51f51b
push edi
push esi
push ebx
call fcn.0048d3b0
add esp, 0xc
and dword [ebp - 4], 0xffffffbf
mov dword [ebx + edi], 0
jmp 0x51f472
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret