Function at 0x101050e0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
jne 0x1010510c
xor edi, edi
jmp 0x10105123
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10105111
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
test byte [esp + 0x14], 0x40
jne 0x10105137
cmp dword [0x1013b0e4], 0
je 0x101057d6
cmp edi, 5
jl 0x101057d6
mov eax, 5
mov ecx, str.file:
mov edx, ebx
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x10105168
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10105150
test eax, eax
je 0x101051c5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x101051b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101051c5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x101051b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101051c5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x101051b7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101051c5
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x101051c5
test esi, esi
mov eax, 1
jg 0x101051c7
or eax, 0xffffffff
jmp 0x101051c7
xor eax, eax
xor ecx, ecx
cmp eax, ecx
jne 0x101057d3
or dword [esp + 0x14], 0x40
cmp edi, ecx
lea eax, [edi + 2]
mov dword [esp + 0x1c], ecx
cdq
jle 0x10105201
mov esi, dword [ebp + 8]
cmp byte [ecx + esi], 0x26
jne 0x101051f2
mov esi, 1
jmp 0x101051f4
xor esi, esi
xor ebx, ebx
add eax, esi
adc edx, ebx
add ecx, 1
cmp ecx, edi
jl 0x101051e2
push edx
push eax
call fcn.10099430
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x10105221
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov cl, 0x2f
cmp byte [edi + 5], cl
mov esi, 5
jne 0x1010531d
cmp byte [edi + 6], cl
jne 0x1010531d
lea eax, [edi + 7]
mov dword [esp + 0x24], eax
mov al, byte [eax]
test al, al
mov esi, 7
je 0x1010531d
cmp al, cl
je 0x10105262
mov al, byte [esi + edi + 1]
add esi, 1
test al, al
jne 0x10105253
cmp esi, 7
je 0x1010531d
cmp esi, 0x10
jne 0x101052fb
mov ecx, dword [esp + 0x24]
lea eax, [esi - 7]
mov edx, str.localhost
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x10105298
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10105280
test eax, eax
je 0x101052f5
movzx ebx, byte [ecx]
movzx edi, byte [edx]
sub edi, ebx
jne 0x101052e7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101052f5
movzx ebx, byte [ecx]
movzx edi, byte [edx]
sub edi, ebx
jne 0x101052e7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101052f5
movzx ebx, byte [ecx]
movzx edi, byte [edx]
sub edi, ebx
jne 0x101052e7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101052f5
movzx ecx, byte [ecx]
movzx edi, byte [edx]
sub edi, ecx
je 0x101052f5
test edi, edi
mov eax, 1
jg 0x101052f7
or eax, 0xffffffff
jmp 0x101052f7
xor eax, eax
test eax, eax
je 0x10105316
mov edx, dword [esp + 0x24]
push edx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.1009b430
add esp, 0xc
jmp 0x10105840
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
mov al, byte [esi + edi]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test al, al
mov dword [esp + 0x18], ecx
je 0x10105498
cmp al, 0x23
je 0x1010548d
add esi, 1
cmp al, 0x25
jne 0x10105400
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x10119dc8], 8
je 0x101053f8
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x10119dc8], 8
je 0x101053f8
movsx edx, byte [esi + edi + 1]
movsx ecx, cl
mov eax, ecx
sar eax, 6
and al, 1
mov bl, 7
imul bl
add esi, 1
sub cl, al
mov eax, edx
sar eax, 6
and al, 1
imul bl
sub dl, al
and ecx, 0xf
shl ecx, 4
add esi, 1
and edx, 0xf
add ecx, edx
test ecx, ecx
jne 0x101053ec
mov al, byte [esi + edi]
test al, al
je 0x10105476
mov ecx, dword [esp + 0x18]
mov edi, edi
cmp al, 0x23
je 0x10105476
test ecx, ecx
jne 0x101053c0
cmp al, 0x3f
jmp 0x101053d6
cmp ecx, 1
jne 0x101053cf
cmp al, 0x3d
je 0x10105476
jmp 0x101053d4
cmp ecx, 2
jne 0x101053dc
cmp al, 0x26
je 0x10105476
mov al, byte [esi + edi + 1]
add esi, 1
test al, al
jne 0x101053b0
jmp 0x10105476
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov al, cl
jmp 0x1010546c
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
cmp ecx, 1
jne 0x1010544f
cmp al, 0x26
je 0x1010540d
cmp al, 0x3d
jne 0x1010546c
cmp byte [ebx + edx - 1], 0
jne 0x10105438
mov al, byte [esi + edi]
test al, al
je 0x10105476
jmp 0x10105420
cmp al, 0x23
je 0x10105476
cmp byte [esi + edi - 1], 0x26
je 0x10105476
mov al, byte [esi + edi + 1]
add esi, 1
test al, al
jne 0x10105420
jmp 0x10105476
cmp al, 0x26
jne 0x10105445
mov byte [ebx + edx], 0
add edx, 1
jmp 0x1010546a
mov dword [esp + 0x18], 2
jmp 0x1010546a
test ecx, ecx
jne 0x10105459
cmp al, 0x3f
je 0x10105462
jmp 0x1010546c
cmp ecx, 2
jne 0x1010546c
cmp al, 0x26
jne 0x1010546c
mov dword [esp + 0x18], 1
xor al, al
mov byte [ebx + edx], al
add edx, 1
mov dword [esp + 0x1c], edx
mov al, byte [esi + edi]
test al, al
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
jne 0x10105332
cmp ecx, 1
jne 0x10105498
mov byte [ebx + edx], 0
add edx, ecx
mov byte [ebx + edx], 0
mov eax, ebx
mov byte [ebx + edx + 1], 0
call fcn.1009c010
cmp byte [eax + ebx + 1], 0
lea esi, [eax + ebx + 1]
je 0x1010581c
mov eax, esi
call fcn.1009c010
mov ebx, eax
lea eax, [ebx + esi + 1]
mov dword [esp + 0x1c], eax
call fcn.1009c010
cmp ebx, 3
mov edi, eax
mov dword [esp + 0x18], edi
jne 0x10105529
movzx edx, byte [esi]
mov eax, 0x76
sub eax, edx
jne 0x10105504
movzx ecx, byte [esi + 1]
add esi, 1
mov eax, 0x66
sub eax, ecx
jne 0x10105504
movzx edx, byte [esi + 1]
add esi, 1
mov eax, 0x73
sub eax, edx
je 0x10105512
test eax, eax
mov ecx, 1
jg 0x10105514
or ecx, 0xffffffff
jmp 0x10105514
xor ecx, ecx
test ecx, ecx
jne 0x101057a0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jmp 0x101057a0
cmp ebx, 5
jne 0x101055da
mov eax, ebx
mov ecx, esi
mov edx, str.cache
jmp 0x10105540
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x10105558
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10105540
test eax, eax
je 0x101055b5
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x101055a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101055b5
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x101055a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101055b5
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x101055a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x101055b5
movzx ecx, byte [ecx]
movzx esi, byte [edx]
sub esi, ecx
je 0x101055b5
test esi, esi
mov eax, 1
jg 0x101055b7
or eax, 0xffffffff
jmp 0x101055b7
xor eax, eax
test eax, eax
jne 0x101057a0
mov eax, 0x60000
mov dword [esp + 0x2c], eax
mov ebx, 0x1013bf08
mov dword [esp + 0x24], str.cache
jmp 0x1010568d
cmp ebx, 4
jne 0x101057a0
mov eax, ebx
mov ecx, esi
mov edx, str.mode
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x10105608
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x101055f0
test eax, eax
je 0x10105665
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x10105657
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10105665
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x10105657
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10105665
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x10105657
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10105665
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x10105665
test esi, esi
mov eax, 1
jg 0x10105667
or eax, 0xffffffff
jmp 0x10105667
xor eax, eax
test eax, eax
jne 0x101057a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 0x87
mov ebx, 0x1013bf20
and eax, 0x87
mov dword [esp + 0x24], str.access
mov esi, dword [ebx]
test esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
je 0x1010575a
mov eax, esi
call fcn.1009c010
cmp edi, eax
jne 0x10105743
cmp edi, 4
mov edx, dword [esp + 0x1c]
mov eax, edi
mov ecx, esi
jb 0x101056d4
nop
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x101056d8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x101056c0
test eax, eax
je 0x1010573d
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x10105727
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10105739
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x10105727
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10105739
movzx edi, byte [ecx]
movzx esi, byte [edx]
sub esi, edi
jne 0x10105727
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x10105739
movzx eax, byte [ecx]
movzx esi, byte [edx]
sub esi, eax
je 0x10105739
test esi, esi
mov edi, dword [esp + 0x18]
mov eax, 1
jg 0x1010573f
or eax, 0xffffffff
jmp 0x1010573f
mov edi, dword [esp + 0x18]
xor eax, eax
test eax, eax
je 0x10105776
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + eax*8 + 8]
add eax, 1
test esi, esi
mov dword [esp + 0x20], eax
jne 0x101056a3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
push str.no_such__s_mode:__s
call fcn.1009b430
add esp, 0xc
jmp 0x10105840
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + ecx*8 + 4]
test eax, eax
je 0x1010575a
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x28]
jg 0x101057b5
mov ecx, dword [esp + 0x2c]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
cmp byte [edi + eax + 1], 0
lea esi, [edi + eax + 1]
jne 0x101054b7
jmp 0x10105818
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.1009b430
add esp, 0xc
mov esi, 3
jmp 0x10105845
mov ebx, dword [ebp + 8]
call fcn.10102d20
test eax, eax
jne 0x10105215
lea eax, [edi + 2]
cdq
push edx
push eax
call fcn.10099380
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x10], esi
je 0x10105215
push edi
push ebx
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [esi + edi], 0
mov byte [esi + edi + 1], 0
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
push esi
call fcn.100989f0
mov edx, dword [ebp + 0x10]
add esp, 4
test eax, eax
mov dword [edx], eax
jne 0x10105865
push esi
push str.no_such_vfs:__s
call fcn.1009b430
add esp, 8
mov esi, 1
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
push edx
mov dword [ecx], eax
call fcn.10099680
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x10105869
mov esi, dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
pop edi
mov dword [eax], ecx
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
mov esp, ebp
pop ebp
ret