Function at 0x1008f770
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
push ebx
push ebp
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
mov esi, edi
cmp edi, eax
jne 0x1008f797
xor esi, esi
jmp 0x1008f7ad
cmp byte [edi], al
je 0x1008f7a5
jmp 0x1008f7a0
inc esi
cmp byte [esi], al
jne 0x1008f7a0
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x1008f7be
cmp dword [0x100ef1ec], eax
je 0x1008fc53
cmp esi, 5
jl 0x1008fc53
cmp dword [edi], 0x656c6966
jne 0x1008fc53
cmp byte [edi + 4], 0x3a
jne 0x1008fc53
or dword [esp + 0x14], 0x40
xor ebx, ebx
xor ebp, ebp
cmp esi, 2
lea ecx, [esi + 2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x1008f81e
lea ecx, [esi - 1]
lea esp, [esp]
xor edx, edx
cmp byte [edi + eax], 0x26
sete dl
add ebx, edx
xor edx, edx
cmp byte [edi + eax + 1], 0x26
sete dl
add eax, 2
add ebp, edx
cmp eax, ecx
jl 0x1008f800
cmp eax, esi
jge 0x1008f82f
xor ecx, ecx
cmp byte [eax + edi], 0x26
sete cl
add dword [esp + 0x1c], ecx
call fcn.1008d900
test eax, eax
jne 0x1008f84f
add ebp, ebx
add ebp, dword [esp + 0x1c]
push ebp
call fcn.1002e5e0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008f85c
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 0x1008f8d8
cmp byte [edi + 6], cl
jne 0x1008f8d8
mov al, byte [edi + 7]
lea ebx, [edi + 7]
mov esi, 7
test al, al
je 0x1008f8d8
lea esp, [esp]
cmp al, cl
je 0x1008f88d
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x1008f880
cmp esi, 7
je 0x1008f8d8
cmp esi, 0x10
jne 0x1008f8bb
lea eax, [esi - 7]
mov ecx, ebx
mov edx, str.localhost
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x1008f8bb
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1008f8a1
mov al, byte [ecx]
cmp al, byte [edx]
je 0x1008f8d8
push ebx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.1002ff50
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
jmp 0x1008fcbe
mov al, byte [esi + edi]
mov edx, dword [esp + 0x18]
xor ebp, ebp
test al, al
je 0x1008fa2d
lea esp, [esp]
cmp al, 0x23
je 0x1008fa1d
inc esi
cmp al, 0x25
jne 0x1008f99f
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x100ce328], 8
je 0x1008f99f
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x100ce328], 8
je 0x1008f99f
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 0x1008f997
mov al, byte [esi + edi]
test al, al
je 0x1008fa0e
mov edi, edi
cmp al, 0x23
je 0x1008fa0e
test ebp, ebp
jne 0x1008f970
cmp al, 0x3f
jmp 0x1008f986
cmp ebp, 1
jne 0x1008f97f
cmp al, 0x3d
je 0x1008fa0e
jmp 0x1008f984
cmp ebp, 2
jne 0x1008f98c
cmp al, 0x26
je 0x1008fa0e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x1008f960
jmp 0x1008fa0e
mov edx, dword [esp + 0x18]
mov al, cl
jmp 0x1008fa02
cmp ebp, 1
jne 0x1008f9e8
cmp al, 0x26
je 0x1008f9ac
cmp al, 0x3d
jne 0x1008fa02
mov ecx, dword [esp + 0x10]
cmp byte [ecx + edx - 1], 0
jne 0x1008f9d6
mov al, byte [esi + edi]
test al, al
je 0x1008fa0e
mov edi, edi
cmp al, 0x23
je 0x1008fa0e
cmp byte [esi + edi - 1], 0x26
je 0x1008fa0e
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x1008f9c0
jmp 0x1008fa0e
cmp al, 0x26
jne 0x1008f9e1
mov byte [ecx + edx], 0
inc edx
jmp 0x1008fa00
mov ebp, 2
jmp 0x1008fa00
test ebp, ebp
jne 0x1008f9f2
cmp al, 0x3f
je 0x1008f9fb
jmp 0x1008fa02
cmp ebp, 2
jne 0x1008fa02
cmp al, 0x26
jne 0x1008fa02
mov ebp, 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ecx + edx], al
inc edx
mov dword [esp + 0x18], edx
mov al, byte [esi + edi]
mov edx, dword [esp + 0x18]
test al, al
jne 0x1008f8f0
mov eax, dword [esp + 0x10]
cmp ebp, 1
jne 0x1008fa31
mov byte [eax + edx], 0
inc edx
jmp 0x1008fa31
mov eax, dword [esp + 0x10]
mov byte [eax + edx], 0
mov byte [eax + edx + 1], 0
cmp byte [eax], 0
je 0x1008fa46
nop
inc eax
cmp byte [eax], 0
jne 0x1008fa40
mov ecx, dword [esp + 0x10]
sub eax, ecx
and eax, 0x3fffffff
cmp byte [eax + ecx + 1], 0
lea edx, [eax + ecx + 1]
je 0x1008fc93
mov eax, edx
inc eax
cmp byte [eax], 0
jne 0x1008fa62
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov ecx, ebx
cmp ebx, ebp
jne 0x1008fa85
mov dword [esp + 0x1c], ebp
jmp 0x1008faa2
cmp byte [ebx], 0
je 0x1008fa96
lea ebx, [ebx]
inc ecx
cmp byte [ecx], 0
jne 0x1008fa90
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [esp + 0x1c], ecx
cmp eax, 3
jne 0x1008facd
cmp byte [edx], 0x76
jne 0x1008fc1e
cmp byte [edx + 1], 0x66
jne 0x1008fc1e
cmp byte [edx + 2], 0x73
jne 0x1008fc1e
mov dword [esp + 0x2c], ebx
jmp 0x1008fc1e
cmp eax, 5
jne 0x1008fb00
cmp dword [edx], 0x68636163
jne 0x1008fc1e
cmp byte [edx + 4], 0x65
jne 0x1008fc1e
mov eax, 0x60000
mov dword [esp + 0x28], eax
mov edi, 0x100f005c
mov dword [esp + 0x20], str.cache
jmp 0x1008fb33
cmp eax, 4
jne 0x1008fc1e
cmp dword [edx], 0x65646f6d
jne 0x1008fc1e
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], 0x87
mov edi, 0x100f0074
and eax, 0x87
mov dword [esp + 0x20], str.access
mov ecx, dword [edi]
mov dword [esp + 0x24], eax
cmp ecx, ebp
je 0x1008fbdc
mov eax, ecx
test ecx, ecx
je 0x1008fb5d
cmp byte [ecx], 0
je 0x1008fb56
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x1008fb50
sub eax, ecx
and eax, 0x3fffffff
cmp dword [esp + 0x1c], eax
jne 0x1008fbcf
mov esi, dword [esp + 0x1c]
mov edx, ebx
cmp esi, 4
jb 0x1008fb84
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1008fb88
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x1008fb70
test esi, esi
je 0x1008fbf8
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x1008fbc3
cmp esi, 1
jbe 0x1008fbf4
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x1008fbc3
cmp esi, 2
jbe 0x1008fbf4
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x1008fbc3
cmp esi, 3
jbe 0x1008fbf4
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [esp + 0x18]
sar eax, 0x1f
or eax, 1
je 0x1008fbf8
mov ecx, dword [edi + ebp*8 + 8]
inc ebp
test ecx, ecx
jne 0x1008fb41
mov ecx, dword [esp + 0x20]
push ebx
push ecx
push str.no_such__s_mode:__s
call fcn.1002ff50
add esp, 0xc
jmp 0x1008fcb8
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + ebp*8 + 4]
test eax, eax
je 0x1008fbdc
mov edx, eax
and edx, 0xffffff7f
cmp edx, dword [esp + 0x24]
jg 0x1008fc33
mov ecx, dword [esp + 0x28]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
cmp byte [eax + ebx + 1], 0
lea edx, [eax + ebx + 1]
jne 0x1008fa60
jmp 0x1008fc93
mov eax, dword [esp + 0x20]
push ebx
push eax
push str._s_mode_not_allowed:__s
call fcn.1002ff50
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov dword [ecx], eax
mov esi, 3
jmp 0x1008fcc3
call fcn.1008d900
test eax, eax
jne 0x1008f84f
lea edx, [esi + 2]
push edx
call fcn.1002e5e0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1008f84f
push esi
push edi
push ebx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x2c]
push esi
call fcn.1002dc80
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x1008fcda
push esi
push str.no_such_vfs:__s
call fcn.1002ff50
add esp, 8
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov esi, 1
mov eax, dword [esp + 0x10]
push eax
call fcn.1002e8b0
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x1008fcde
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov dword [ecx], edx
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret