Function at 0x10107fd0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ecx
mov esi, edi
cmp edi, ebp
jne 0x10107ff7
xor esi, esi
jmp 0x1010800e
cmp byte [edi], 0
je 0x10108006
lea esp, [esp]
inc esi
cmp byte [esi], 0
jne 0x10108000
sub esi, edi
and esi, 0x3fffffff
test al, 0x40
jne 0x1010801e
cmp dword [0x1017775c], ebp
je 0x101084b0
cmp esi, 5
jl 0x101084b0
cmp dword [edi], 0x656c6966
jne 0x101084b0
cmp byte [edi + 4], 0x3a
jne 0x101084b0
or eax, 0x40
mov dword [esp + 0x18], eax
xor ecx, ecx
lea edx, [esi + 2]
xor eax, eax
cmp esi, 2
mov dword [esp + 0x14], ebp
mov dword [esp + 0x2c], edx
jl 0x10108082
lea edx, [esi - 1]
jmp 0x10108060
xor ebx, ebx
cmp byte [edi + eax], 0x26
sete bl
add ecx, ebx
xor ebx, ebx
cmp byte [edi + eax + 1], 0x26
sete bl
add eax, 2
add ebp, ebx
cmp eax, edx
jl 0x10108060
mov edx, dword [esp + 0x2c]
cmp eax, esi
jge 0x10108091
xor ebx, ebx
cmp byte [eax + edi], 0x26
sete bl
add edx, ebx
add ebp, ecx
add ebp, edx
push ebp
call fcn.100a0800
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x101080b3
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov cl, 0x2f
mov esi, 5
cmp byte [edi + 5], cl
jne 0x1010812b
cmp byte [edi + 6], cl
jne 0x1010812b
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x1010812b
cmp al, cl
je 0x101080e0
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x101080d3
cmp esi, 7
je 0x1010812b
cmp esi, 0x10
jne 0x1010810e
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x1010810e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x101080f4
mov al, byte [ecx]
cmp al, byte [edx]
je 0x1010812b
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.100a2130
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x10108510
mov al, byte [esi + edi]
xor ebp, ebp
test al, al
je 0x1010827f
jmp 0x10108140
mov edx, dword [esp + 0x14]
cmp al, 0x23
je 0x1010826d
inc esi
cmp al, 0x25
jne 0x101081f1
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x10140bf0], 8
je 0x101081f1
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x10140bf0], 8
je 0x101081f1
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 0x101081e9
mov al, byte [esi + edi]
test al, al
je 0x1010825e
cmp al, 0x23
je 0x1010825e
test ebp, ebp
jne 0x101081c2
cmp al, 0x3f
jmp 0x101081d8
cmp ebp, 1
jne 0x101081d1
cmp al, 0x3d
je 0x1010825e
jmp 0x101081d6
cmp ebp, 2
jne 0x101081de
cmp al, 0x26
je 0x1010825e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x101081b2
jmp 0x1010825e
mov edx, dword [esp + 0x14]
mov al, cl
jmp 0x10108252
cmp ebp, 1
jne 0x10108238
cmp al, 0x26
je 0x101081fe
cmp al, 0x3d
jne 0x10108252
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x10108226
mov al, byte [esi + edi]
test al, al
je 0x1010825e
cmp al, 0x23
je 0x1010825e
cmp byte [esi + edi - 1], 0x26
je 0x1010825e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10108210
jmp 0x1010825e
cmp al, 0x26
jne 0x10108231
mov byte [ecx + edx], 0
inc edx
jmp 0x10108250
mov ebp, 2
jmp 0x10108250
test ebp, ebp
jne 0x10108242
cmp al, 0x3f
je 0x1010824b
jmp 0x10108252
cmp ebp, 2
jne 0x10108252
cmp al, 0x26
jne 0x10108252
mov ebp, 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ecx + edx], al
inc edx
mov dword [esp + 0x14], edx
mov al, byte [esi + edi]
test al, al
jne 0x10108140
mov edx, dword [esp + 0x14]
cmp ebp, 1
jne 0x1010827f
mov eax, dword [esp + 0x10]
mov byte [eax + edx], 0
inc edx
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
cmp byte [esi], 0
mov eax, esi
je 0x1010829d
inc eax
cmp byte [eax], 0
jne 0x10108297
sub eax, esi
and eax, 0x3fffffff
cmp byte [eax + esi + 1], 0
lea edx, [eax + esi + 1]
je 0x101084e5
mov ebp, 0x60000
mov eax, edx
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x101082c0
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
mov dword [esp + 0x1c], ebx
mov ecx, ebx
test ebx, ebx
jne 0x101082e1
mov dword [esp + 0x24], ebx
jmp 0x101082f8
cmp byte [ebx], 0
je 0x101082ec
inc ecx
cmp byte [ecx], 0
jne 0x101082e6
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x24], ecx
cmp eax, 3
jne 0x10108323
cmp byte [edx], 0x76
jne 0x10108478
cmp byte [edx + 1], 0x66
jne 0x10108478
cmp byte [edx + 2], 0x73
jne 0x10108478
mov dword [esp + 0x30], ebx
jmp 0x10108478
cmp eax, 5
jne 0x10108355
cmp dword [edx], 0x68636163
jne 0x10108478
cmp byte [edx + 4], 0x65
jne 0x10108478
mov dword [esp + 0x14], ebp
mov edi, 0x1017867c
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], str.cache
jmp 0x1010838c
cmp eax, 4
jne 0x10108478
cmp dword [edx], 0x65646f6d
jne 0x10108478
mov eax, dword [esp + 0x18]
and eax, 0x87
mov dword [esp + 0x14], 0x87
mov edi, 0x10178694
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
xor ebp, ebp
test ecx, ecx
je 0x1010842d
mov eax, ecx
test ecx, ecx
je 0x101083b0
cmp byte [ecx], 0
je 0x101083a9
inc eax
cmp byte [eax], 0
jne 0x101083a3
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x24], eax
jne 0x10108420
mov esi, dword [esp + 0x24]
mov edx, ebx
cmp esi, 4
jb 0x101083d5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x101083d9
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x101083c1
test esi, esi
je 0x10108449
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x10108414
cmp esi, 1
jbe 0x10108445
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x10108414
cmp esi, 2
jbe 0x10108445
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x10108414
cmp esi, 3
jbe 0x10108445
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x1c]
sar eax, 0x1f
or eax, 1
je 0x10108449
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x10108398
mov ecx, dword [esp + 0x28]
push ebx
push ecx
push str.no_such__s_mode:__s
call fcn.100a2130
add esp, 0xc
jmp 0x1010850a
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + ebp*8 + 4]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1010842d
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x2c]
jg 0x1010848d
mov esi, dword [esp + 0x10]
not ecx
and ecx, dword [esp + 0x18]
mov ebp, 0x60000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x24]
cmp byte [eax + ebx + 1], 0
lea edx, [eax + ebx + 1]
jne 0x101082b8
jmp 0x101084e5
mov eax, dword [esp + 0x28]
push ebx
push eax
push str._s_mode_not_allowed:__s
call fcn.100a2130
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x20], 3
jmp 0x10108518
lea edx, [esi + 2]
push edx
call fcn.100a0800
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, ebp
je 0x101080a6
push esi
push edi
push ebx
call fcn.101162d0
add esp, 0xc
and dword [esp + 0x18], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, ebx
mov edi, dword [esp + 0x30]
push edi
call fcn.1009fe90
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x10108531
push edi
push str.no_such_vfs:__s
call fcn.100a2130
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
push eax
call fcn.100a0aa0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
pop edi
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x24
ret