Function at 0x461289
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
mov eax, dword [eax]
xor ebx, ebx
push edi
mov edi, edx
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.00415cec
mov ecx, dword [esp + 0x1c]
mov esi, eax
test cl, 0x40
jne 0x4612c0
cmp dword [0x4c3b04], ebx
je 0x461673
cmp esi, 5
jl 0x461673
cmp dword [edi], 0x656c6966
jne 0x461673
cmp byte [edi + 4], 0x3a
jne 0x461673
or ecx, 0x40
mov dword [esp + 0x18], ebx
lea eax, [esi + 2]
mov dword [esp + 0x1c], ecx
cdq
mov ecx, ebx
cmp byte [ecx + edi], 0x26
jne 0x4612ff
xor ebp, ebp
mov dword [esp + 0x28], ebx
inc ebp
jmp 0x461314
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x30]
add eax, ebp
adc edx, dword [esp + 0x28]
inc ecx
cmp ecx, esi
jl 0x4612f0
push edx
push eax
call fcn.00413c2b
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x461686
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x46139f
cmp byte [edi + 6], 0x2f
jne 0x46139f
lea ecx, [edi + 7]
mov al, byte [ecx]
mov dword [esp + 0x30], ecx
push 7
pop esi
test al, al
je 0x46139f
cmp al, 0x2f
je 0x46135d
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x461351
cmp esi, 7
je 0x46139f
cmp esi, 0x10
jne 0x46137f
push 9
push ecx
push str.localhost
call fcn.0047ef51
add esp, 0xc
test eax, eax
je 0x46139f
mov ecx, dword [esp + 0x30]
push ecx
lea eax, [esi - 7]
push eax
push str.invalid_uri_authority:__.s
call fcn.004153e0
mov ecx, dword [esp + 0x60]
xor ebx, ebx
add esp, 0xc
inc ebx
mov dword [ecx], eax
jmp 0x4616d0
mov cl, byte [esi + edi]
mov edx, ebx
mov dword [esp + 0x20], edx
test cl, cl
je 0x4614eb
cmp cl, 0x23
je 0x4614dc
inc esi
cmp cl, 0x25
jne 0x46145d
movzx eax, byte [esi + edi]
test byte [eax + 0x4b2c38], 8
je 0x46145d
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x4b2c38], 8
je 0x46145d
mov dl, byte [esi + edi]
mov cl, byte [esi + edi + 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 [esp + 0x20]
jne 0x4614c5
jmp 0x461454
cmp al, 0x23
je 0x4614d1
test edx, edx
jne 0x461435
cmp al, 0x3f
je 0x4614d1
cmp edx, 1
jne 0x46144a
cmp al, 0x3d
je 0x4614d1
cmp al, 0x26
je 0x4614d1
cmp edx, 2
jne 0x461453
cmp al, 0x26
je 0x4614d1
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x461421
jmp 0x4614d1
cmp edx, 1
jne 0x4614a9
cmp cl, 0x26
je 0x46146c
cmp cl, 0x3d
jne 0x4614c5
mov eax, dword [esp + 0x18]
cmp byte [eax + ebp - 1], bl
je 0x461495
cmp cl, 0x26
jne 0x46149e
mov ecx, eax
mov byte [ecx + ebp], bl
inc ecx
mov dword [esp + 0x18], ecx
mov eax, ecx
jmp 0x4614a5
cmp al, 0x23
je 0x4614d1
cmp byte [esi + edi - 1], 0x26
je 0x4614d1
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x461489
jmp 0x4614d1
push 2
pop edx
mov dword [esp + 0x20], edx
mov cl, bl
jmp 0x4614c9
test edx, edx
jne 0x4614b2
cmp cl, 0x3f
je 0x4614bc
cmp edx, 2
jne 0x4614c5
cmp cl, 0x26
jne 0x4614c5
xor edx, edx
mov cl, bl
inc edx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], cl
inc eax
mov dword [esp + 0x18], eax
mov cl, byte [esi + edi]
test cl, cl
jne 0x4613b0
mov eax, dword [esp + 0x18]
cmp edx, 1
jne 0x4614ed
mov byte [eax + ebp], bl
inc eax
jmp 0x4614ed
mov eax, ebx
mov ecx, ebp
mov word [eax + ebp], bx
call fcn.00415cec
lea esi, [ebp + 1]
jmp 0x461647
mov ecx, esi
call fcn.00415cec
mov edi, eax
lea eax, [esi + 1]
add eax, edi
mov dword [esp + 0x2c], edi
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.00415cec
mov dword [esp + 0x30], eax
cmp edi, 3
jne 0x461545
mov eax, 0x6676
cmp ax, word [esi]
jne 0x461545
push 0x73
pop eax
cmp al, byte [esi + 2]
jne 0x461545
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
jmp 0x461642
mov ecx, dword [esp + 0x2c]
mov edi, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
cmp ecx, 5
jne 0x46157f
mov eax, 0x68636163
cmp eax, dword [esi]
jne 0x46157f
push 0x65
pop eax
cmp al, byte [esi + 4]
jne 0x46157f
mov eax, 0x4c48b0
mov dword [esp + 0x20], str.cache
mov edi, 0x60000
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
cmp ecx, 4
jne 0x4615bf
push ecx
push esi
push str.mode
call fcn.0047ef51
add esp, 0xc
mov dword [esp + 0x28], edi
test eax, eax
jne 0x4615bf
mov ecx, dword [esp + 0x1c]
mov eax, 0x87
and ecx, eax
mov dword [esp + 0x20], str.access
mov edi, eax
mov dword [esp + 0x28], ecx
mov esi, 0x4c4884
jmp 0x4615c3
mov esi, dword [esp + 0x24]
test esi, esi
je 0x46163e
mov eax, dword [esi]
mov dword [esp + 0x24], ebx
jmp 0x4615ff
mov ecx, eax
call fcn.00415cec
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jne 0x4615f3
push ecx
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.0047ef51
add esp, 0xc
test eax, eax
je 0x461619
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + eax*8]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4615cf
push dword [esp + 0x18]
push dword [esp + 0x24]
push str.no_such__s_mode:__s
jmp 0x461389
mov ecx, dword [esp + 0x24]
mov ecx, dword [esi + ecx*8 + 4]
test ecx, ecx
je 0x461607
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [esp + 0x28]
jg 0x461653
not edi
and edi, dword [esp + 0x1c]
or edi, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
inc esi
add esi, eax
cmp byte [esi], bl
jne 0x461500
jmp 0x46169f
push dword [esp + 0x18]
push dword [esp + 0x24]
push str._s_mode_not_allowed:__s
call fcn.004153e0
mov ecx, dword [esp + 0x60]
add esp, 0xc
push 3
mov dword [ecx], eax
pop ebx
jmp 0x4616d0
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.00413c2b
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
jne 0x46168b
push 7
pop eax
jmp 0x4616f0
push esi
push edi
push ebp
call fcn.0047e230
add esp, 0xc
mov word [esi + ebp], bx
and dword [esp + 0x1c], 0xffffffbf
mov esi, dword [esp + 0x3c]
push esi
call fcn.004135c6
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
test ecx, ecx
jne 0x4616cc
push esi
push str.no_such_vfs:__s
call fcn.004153e0
pop ecx
pop ecx
mov ecx, dword [esp + 0x54]
xor ebx, ebx
inc ebx
mov dword [ecx], eax
test ebx, ebx
je 0x4616d7
push ebp
call fcn.00413de1
pop ecx
mov ecx, dword [esp + 0x48]
xor edx, edx
mov eax, dword [esp + 0x1c]
test ebx, ebx
cmove edx, ebp
mov dword [ecx], eax
mov eax, ebx
mov ecx, dword [esp + 0x50]
mov dword [ecx], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret