Function at 0x46ebc0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
mov ebx, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax]
mov ecx, ebx
push esi
push edi
mov dword [ebp - 0xc], eax
call fcn.00408349
mov ecx, dword [ebp - 0xc]
mov esi, eax
test cl, 0x40
jne 0x46ebf8
cmp byte [0x49b90e], 0
je 0x46ef6c
cmp esi, 5
jl 0x46ef6c
cmp dword [ebx], 0x656c6966
jne 0x46ef6c
cmp byte [ebx + 4], 0x3a
jne 0x46ef6c
and dword [ebp - 8], 0
lea eax, [esi + 8]
or ecx, 0x40
cdq
mov dword [ebp - 0xc], ecx
xor ecx, ecx
cmp byte [ecx + ebx], 0x26
jne 0x46ec36
xor edi, edi
inc edi
and dword [ebp - 0x18], 0
jmp 0x46ec47
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x28]
add eax, edi
adc edx, dword [ebp - 0x18]
inc ecx
cmp ecx, esi
jl 0x46ec27
push edx
push eax
call fcn.00405222
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x46ef7f
and dword [edi], 0
add edi, 4
cmp byte [ebx + 5], 0x2f
push 5
pop esi
jne 0x46ecd3
cmp byte [ebx + 6], 0x2f
jne 0x46ecd3
lea ecx, [ebx + 7]
mov al, byte [ecx]
mov dword [ebp - 0x24], ecx
push 7
pop esi
test al, al
je 0x46ecd3
cmp al, 0x2f
je 0x46ec94
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x46ec88
cmp esi, 7
je 0x46ecd3
cmp esi, 0x10
jne 0x46ecb5
push 9
push ecx
push str.localhost
call fcn.00481650
add esp, 0xc
test eax, eax
je 0x46ecd3
mov ecx, dword [ebp - 0x24]
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
mov dword [ebp - 0x14], 1
call fcn.00407705
add esp, 0xc
jmp 0x46efca
mov cl, byte [esi + ebx]
xor edx, edx
mov dword [ebp - 0x10], edx
test cl, cl
je 0x46ee19
cmp cl, 0x23
je 0x46ee0a
inc esi
cmp cl, 0x25
jne 0x46ed8f
movzx eax, byte [esi + ebx]
test byte [eax + 0x48a8e0], 8
je 0x46ed8f
movzx eax, byte [esi + ebx + 1]
test byte [eax + 0x48a8e0], 8
je 0x46ed8f
mov dl, byte [esi + ebx]
mov cl, byte [esi + ebx + 1]
mov al, dl
sar al, 6
add esi, 2
and al, 1
movzx eax, al
imul eax, eax, 7
sub dl, al
mov al, cl
sar al, 6
and edx, 0xf
and al, 1
shl edx, 4
movzx eax, al
imul eax, eax, 7
sub cl, al
and ecx, 0xf
add ecx, edx
mov edx, dword [ebp - 0x10]
jne 0x46edf5
jmp 0x46ed86
cmp al, 0x23
je 0x46edff
test edx, edx
jne 0x46ed67
cmp al, 0x3f
je 0x46edff
cmp edx, 1
jne 0x46ed7c
cmp al, 0x3d
je 0x46edff
cmp al, 0x26
je 0x46edff
cmp edx, 2
jne 0x46ed85
cmp al, 0x26
je 0x46edff
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x46ed53
jmp 0x46edff
cmp edx, 1
jne 0x46edda
cmp cl, 0x26
je 0x46ed9e
cmp cl, 0x3d
jne 0x46edf5
mov eax, dword [ebp - 8]
cmp byte [edi + eax - 1], 0
je 0x46edc7
cmp cl, 0x26
jne 0x46edd0
mov ecx, eax
mov byte [edi + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
mov eax, ecx
jmp 0x46edd6
cmp al, 0x23
je 0x46edff
cmp byte [esi + ebx - 1], 0x26
je 0x46edff
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x46edbb
jmp 0x46edff
push 2
pop edx
mov dword [ebp - 0x10], edx
xor cl, cl
jmp 0x46edf8
test edx, edx
jne 0x46ede3
cmp cl, 0x3f
je 0x46eded
cmp edx, 2
jne 0x46edf5
cmp cl, 0x26
jne 0x46edf5
xor edx, edx
xor cl, cl
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov byte [edi + eax], cl
inc eax
mov dword [ebp - 8], eax
mov cl, byte [esi + ebx]
test cl, cl
jne 0x46ece3
mov eax, dword [ebp - 8]
cmp edx, 1
jne 0x46ee1c
mov byte [edi + eax], 0
inc eax
jmp 0x46ee1c
mov eax, dword [ebp - 8]
and dword [edi + eax], 0
mov ecx, edi
call fcn.00408349
lea esi, [edi + 1]
add esi, eax
jmp 0x46ef4c
mov ecx, esi
call fcn.00408349
mov dword [ebp - 0x20], eax
lea ebx, [eax + 1]
add ebx, esi
mov ecx, ebx
call fcn.00408349
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp eax, 3
jne 0x46ee74
mov eax, 0x6676
cmp ax, word [esi]
jne 0x46ef46
push 0x73
pop eax
cmp al, byte [esi + 2]
jne 0x46ef46
mov dword [ebp - 0x2c], ebx
jmp 0x46ef46
cmp eax, 5
jne 0x46eea8
mov eax, 0x68636163
cmp eax, dword [esi]
jne 0x46ef46
push 0x65
pop eax
cmp al, byte [esi + 4]
jne 0x46ef46
mov ecx, 0x60000
mov dword [ebp - 0x18], str.cache
mov eax, 0x49d360
mov dword [ebp - 0x20], ecx
jmp 0x46eed6
cmp eax, 4
jne 0x46ef46
cmp dword [esi], 0x65646f6d
jne 0x46ef46
mov edx, dword [ebp - 0xc]
mov ecx, 0x87
and edx, ecx
mov dword [ebp - 0x18], str.access
mov eax, 0x49d010
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, dword [eax]
xor ecx, ecx
jmp 0x46ef0a
mov ecx, eax
call fcn.00408349
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x46ef00
push ecx
push dword [ebp - 0x1c]
push ebx
call fcn.00481650
add esp, 0xc
test eax, eax
je 0x46ef22
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc ecx
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], ecx
test eax, eax
jne 0x46eee1
push ebx
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
jmp 0x46ecbf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x46ef14
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x46ef57
not esi
and esi, dword [ebp - 0xc]
or esi, ecx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x24]
inc esi
add esi, ebx
cmp byte [esi], 0
jne 0x46ee31
jmp 0x46efa1
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 3
push str._s_mode_not_allowed:__s
jmp 0x46ecc6
lea eax, [esi + 8]
cdq
push edx
push eax
call fcn.00405222
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x46ef84
push 7
pop eax
jmp 0x46efe8
and dword [edi], 0
add edi, 4
test esi, esi
je 0x46ef99
push esi
push ebx
push edi
call fcn.00476870
add esp, 0xc
and dword [edi + esi], 0
and dword [ebp - 0xc], 0xffffffbf
mov esi, dword [ebp - 0x2c]
push esi
call fcn.00404a8d
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x46efd8
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0x14], 1
call fcn.00407705
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ecx], eax
call fcn.0046fede
pop ecx
xor edi, edi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
leave
ret