Function at 0x10161120
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 0x10161147
xor esi, esi
jmp 0x1016115e
cmp byte [edi], 0
je 0x10161156
lea esp, [esp]
inc esi
cmp byte [esi], 0
jne 0x10161150
sub esi, edi
and esi, 0x3fffffff
test al, 0x40
jne 0x1016116e
cmp dword [0x10208e14], ebp
je 0x10161600
cmp esi, 5
jl 0x10161600
cmp dword [edi], 0x656c6966
jne 0x10161600
cmp byte [edi + 4], 0x3a
jne 0x10161600
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 0x101611d2
lea edx, [esi - 1]
jmp 0x101611b0
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 0x101611b0
mov edx, dword [esp + 0x2c]
cmp eax, esi
jge 0x101611e1
xor ebx, ebx
cmp byte [eax + edi], 0x26
sete bl
add edx, ebx
add ebp, ecx
add ebp, edx
push ebp
call fcn.100fbd70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10161203
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 0x1016127b
cmp byte [edi + 6], cl
jne 0x1016127b
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x1016127b
cmp al, cl
je 0x10161230
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10161223
cmp esi, 7
je 0x1016127b
cmp esi, 0x10
jne 0x1016125e
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x1016125e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x10161244
mov al, byte [ecx]
cmp al, byte [edx]
je 0x1016127b
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.100fd6a0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x10161660
mov al, byte [esi + edi]
xor ebp, ebp
test al, al
je 0x101613cf
jmp 0x10161290
mov edx, dword [esp + 0x14]
cmp al, 0x23
je 0x101613bd
inc esi
cmp al, 0x25
jne 0x10161341
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x101bc1e0], 8
je 0x10161341
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x101bc1e0], 8
je 0x10161341
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 0x10161339
mov al, byte [esi + edi]
test al, al
je 0x101613ae
cmp al, 0x23
je 0x101613ae
test ebp, ebp
jne 0x10161312
cmp al, 0x3f
jmp 0x10161328
cmp ebp, 1
jne 0x10161321
cmp al, 0x3d
je 0x101613ae
jmp 0x10161326
cmp ebp, 2
jne 0x1016132e
cmp al, 0x26
je 0x101613ae
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10161302
jmp 0x101613ae
mov edx, dword [esp + 0x14]
mov al, cl
jmp 0x101613a2
cmp ebp, 1
jne 0x10161388
cmp al, 0x26
je 0x1016134e
cmp al, 0x3d
jne 0x101613a2
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x10161376
mov al, byte [esi + edi]
test al, al
je 0x101613ae
cmp al, 0x23
je 0x101613ae
cmp byte [esi + edi - 1], 0x26
je 0x101613ae
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x10161360
jmp 0x101613ae
cmp al, 0x26
jne 0x10161381
mov byte [ecx + edx], 0
inc edx
jmp 0x101613a0
mov ebp, 2
jmp 0x101613a0
test ebp, ebp
jne 0x10161392
cmp al, 0x3f
je 0x1016139b
jmp 0x101613a2
cmp ebp, 2
jne 0x101613a2
cmp al, 0x26
jne 0x101613a2
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 0x10161290
mov edx, dword [esp + 0x14]
cmp ebp, 1
jne 0x101613cf
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 0x101613ed
inc eax
cmp byte [eax], 0
jne 0x101613e7
sub eax, esi
and eax, 0x3fffffff
cmp byte [eax + esi + 1], 0
lea edx, [eax + esi + 1]
je 0x10161635
mov ebp, 0x60000
mov eax, edx
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x10161410
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
mov dword [esp + 0x1c], ebx
mov ecx, ebx
test ebx, ebx
jne 0x10161431
mov dword [esp + 0x24], ebx
jmp 0x10161448
cmp byte [ebx], 0
je 0x1016143c
inc ecx
cmp byte [ecx], 0
jne 0x10161436
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x24], ecx
cmp eax, 3
jne 0x10161473
cmp byte [edx], 0x76
jne 0x101615c8
cmp byte [edx + 1], 0x66
jne 0x101615c8
cmp byte [edx + 2], 0x73
jne 0x101615c8
mov dword [esp + 0x30], ebx
jmp 0x101615c8
cmp eax, 5
jne 0x101614a5
cmp dword [edx], 0x68636163
jne 0x101615c8
cmp byte [edx + 4], 0x65
jne 0x101615c8
mov dword [esp + 0x14], ebp
mov edi, 0x10209d2c
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], str.cache
jmp 0x101614dc
cmp eax, 4
jne 0x101615c8
cmp dword [edx], 0x65646f6d
jne 0x101615c8
mov eax, dword [esp + 0x18]
and eax, 0x87
mov dword [esp + 0x14], 0x87
mov edi, 0x10209d44
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
xor ebp, ebp
test ecx, ecx
je 0x1016157d
mov eax, ecx
test ecx, ecx
je 0x10161500
cmp byte [ecx], 0
je 0x101614f9
inc eax
cmp byte [eax], 0
jne 0x101614f3
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x24], eax
jne 0x10161570
mov esi, dword [esp + 0x24]
mov edx, ebx
cmp esi, 4
jb 0x10161525
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10161529
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x10161511
test esi, esi
je 0x10161599
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x10161564
cmp esi, 1
jbe 0x10161595
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x10161564
cmp esi, 2
jbe 0x10161595
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x10161564
cmp esi, 3
jbe 0x10161595
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 0x10161599
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x101614e8
mov ecx, dword [esp + 0x28]
push ebx
push ecx
push str.no_such__s_mode:__s
call fcn.100fd6a0
add esp, 0xc
jmp 0x1016165a
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + ebp*8 + 4]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x1016157d
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x2c]
jg 0x101615dd
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 0x10161408
jmp 0x10161635
mov eax, dword [esp + 0x28]
push ebx
push eax
push str._s_mode_not_allowed:__s
call fcn.100fd6a0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x20], 3
jmp 0x10161668
lea edx, [esi + 2]
push edx
call fcn.100fbd70
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, ebp
je 0x101611f6
push esi
push edi
push ebx
call fcn.10184640
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.100fb3c0
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x10161681
push edi
push str.no_such_vfs:__s
call fcn.100fd6a0
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.100fc010
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