Function at 0x4e3be0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x2c], edx
cmp edi, ecx
jne 0x4e3c03
xor esi, esi
jmp 0x4e3c18
mov eax, edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e3c08
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test bl, 0x40
jne 0x4e3c29
cmp byte [0x58e7a6], cl
je 0x4e40da
cmp esi, 5
jl 0x4e40da
cmp dword [edi], 0x656c6966
jne 0x4e40da
cmp byte [edi + 4], 0x3a
jne 0x4e40da
or dword [ebp - 8], 0x40
lea eax, [esi + 8]
cdq
mov ebx, eax
xor eax, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], edx
cmp esi, ecx
jle 0x4e3c7b
mov edi, edi
cmp byte [eax + edi], 0x26
jne 0x4e3c6d
mov ecx, 1
jmp 0x4e3c6f
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [ebp - 0x24], edx
inc eax
cmp eax, esi
jl 0x4e3c60
call fcn.00538ca0
test eax, eax
jne 0x4e3c97
mov eax, dword [ebp - 0x24]
push eax
push ebx
call fcn.004bc5c0
mov edx, eax
add esp, 8
test edx, edx
jne 0x4e3ca3
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
add edx, 4
mov bl, 0x2f
mov dword [ebp - 4], edx
mov eax, 5
cmp byte [edi + 5], bl
jne 0x4e3d2d
cmp byte [edi + 6], bl
jne 0x4e3d2d
mov cl, byte [edi + 7]
lea edx, [edi + 7]
mov eax, 7
mov dword [ebp - 0x24], edx
test cl, cl
je 0x4e3d2a
cmp cl, bl
je 0x4e3cdf
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x4e3cd2
cmp eax, 7
je 0x4e3d2a
cmp eax, 0x10
jne 0x4e3d0e
lea ecx, [eax - 7]
mov esi, str.localhost
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x4e3d0b
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4e3cf1
mov cl, byte [edx]
cmp cl, byte [esi]
je 0x4e3d2a
mov edx, dword [ebp - 0x24]
push edx
add eax, 0xfffffff9
push eax
push str.invalid_uri_authority:__.s
call fcn.004d7010
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [edx], eax
jmp 0x4e4151
mov edx, dword [ebp - 4]
mov cl, byte [eax + edi]
xor esi, esi
mov dword [ebp - 0x10], esi
test cl, cl
je 0x4e3eab
lea ecx, [ecx]
cmp cl, 0x23
je 0x4e3e9b
inc eax
cmp cl, 0x25
jne 0x4e3e13
mov dl, byte [eax + edi]
movzx ebx, dl
test byte [ebx + 0x569080], 8
je 0x4e3e10
movzx ebx, byte [eax + edi + 1]
test byte [ebx + 0x569080], 8
je 0x4e3e10
movsx esi, byte [eax + edi + 1]
movsx ecx, dl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub cl, bl
mov edx, esi
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
mov dword [ebp - 0x24], esi
movzx edx, byte [ebp - 0x24]
sub dl, bl
and ecx, 0xf
shl ecx, 4
add eax, 2
and edx, 0xf
add ecx, edx
jne 0x4e3e0b
mov cl, byte [eax + edi]
test cl, cl
je 0x4e3e8a
mov edx, dword [ebp - 0x10]
lea ecx, [ecx]
cmp cl, 0x23
je 0x4e3e8a
test edx, edx
jne 0x4e3de2
cmp cl, 0x3f
jmp 0x4e3dfa
cmp edx, 1
jne 0x4e3df2
cmp cl, 0x3d
je 0x4e3e8a
jmp 0x4e3df7
cmp edx, 2
jne 0x4e3e00
cmp cl, 0x26
je 0x4e3e8a
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x4e3dd0
jmp 0x4e3e8a
mov edx, dword [ebp - 4]
jmp 0x4e3e80
mov edx, dword [ebp - 4]
cmp esi, 1
jne 0x4e3e62
cmp cl, 0x26
je 0x4e3e22
cmp cl, 0x3d
jne 0x4e3e80
mov esi, dword [ebp - 0xc]
cmp byte [edx + esi - 1], 0
jne 0x4e3e4a
mov cl, byte [eax + edi]
test cl, cl
je 0x4e3e8a
cmp cl, 0x23
je 0x4e3e8a
cmp byte [eax + edi - 1], 0x26
je 0x4e3e8a
mov cl, byte [eax + edi + 1]
inc eax
test cl, cl
jne 0x4e3e33
jmp 0x4e3e8a
cmp cl, 0x26
jne 0x4e3e59
mov byte [edx + esi], 0
inc esi
mov dword [ebp - 0xc], esi
jmp 0x4e3e7e
mov dword [ebp - 0x10], 2
jmp 0x4e3e7e
test esi, esi
jne 0x4e3e6d
cmp cl, 0x3f
je 0x4e3e77
jmp 0x4e3e80
cmp esi, 2
jne 0x4e3e80
cmp cl, 0x26
jne 0x4e3e80
mov dword [ebp - 0x10], 1
xor cl, cl
mov esi, dword [ebp - 0xc]
mov byte [edx + esi], cl
inc esi
mov dword [ebp - 0xc], esi
mov cl, byte [eax + edi]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
test cl, cl
jne 0x4e3d40
cmp esi, 1
jne 0x4e3eab
mov eax, dword [ebp - 0xc]
mov byte [edx + eax], 0
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + eax], 0
test edx, edx
jne 0x4e3ebd
xor eax, eax
jmp 0x4e3ed3
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e3ec2
sub eax, edx
mov edx, dword [ebp - 4]
and eax, 0x3fffffff
cmp byte [eax + edx + 1], 0
lea ecx, [eax + edx + 1]
je 0x4e4125
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e3ee7
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4e3f06
xor ebx, ebx
jmp 0x4e3f23
mov eax, dword [ebp - 0x10]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e3f10
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
cmp esi, 3
jne 0x4e3f50
cmp byte [ecx], 0x76
jne 0x4e40a6
cmp byte [ecx + 1], 0x66
jne 0x4e40a6
cmp byte [ecx + 2], 0x73
jne 0x4e40a6
mov dword [ebp - 0x2c], eax
jmp 0x4e40a6
cmp esi, 5
jne 0x4e3f81
cmp dword [ecx], 0x68636163
jne 0x4e40a6
cmp byte [ecx + 4], 0x65
jne 0x4e40a6
mov eax, 0x60000
mov dword [ebp - 0x24], eax
mov edi, 0x58fde0
mov dword [ebp - 0x1c], str.cache
jmp 0x4e3fb1
cmp esi, 4
jne 0x4e40a6
cmp dword [ecx], 0x65646f6d
jne 0x4e40a6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], 0x87
mov edi, 0x58fdf8
and eax, 0x87
mov dword [ebp - 0x1c], str.access
mov ecx, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x4e4061
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e3fd0
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x4e404e
mov edx, dword [ebp - 0x10]
mov esi, ebx
cmp ebx, 4
jb 0x4e4004
lea esp, [esp]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4e4008
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4e3ff0
test esi, esi
je 0x4e407e
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x4e4043
cmp esi, 1
jbe 0x4e407b
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4e4043
cmp esi, 2
jbe 0x4e407b
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4e4043
cmp esi, 3
jbe 0x4e407b
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [ebp - 0xc]
sar eax, 0x1f
or eax, 1
je 0x4e407e
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [ebp - 0x18], eax
test ecx, ecx
jne 0x4e3fc5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push edx
push eax
push str.no_such__s_mode:__s
call fcn.004d7010
add esp, 0xc
jmp 0x4e414c
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x4e4061
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x20]
jg 0x4e40b7
mov ecx, dword [ebp - 0x24]
not ecx
and ecx, dword [ebp - 8]
or ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x4e3ee2
jmp 0x4e4125
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.004d7010
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [ebp - 0x14], 3
jmp 0x4e4158
call fcn.00538ca0
test eax, eax
jne 0x4e3c97
lea eax, [esi + 8]
cdq
push edx
push eax
call fcn.004bc5c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e3c97
mov dword [ebx], 0
add ebx, 4
mov dword [ebp - 4], ebx
test esi, esi
je 0x4e411a
push esi
push edi
push ebx
call fcn.00480500
add esp, 0xc
and dword [ebp - 8], 0xffffffbf
mov dword [ebx + esi], 0
mov esi, dword [ebp - 0x2c]
push esi
call fcn.004bc2a0
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [edx], eax
test eax, eax
jne 0x4e41e0
push esi
push str.no_such_vfs:__s
call fcn.004d7010
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e41dc
nop
cmp byte [eax - 1], 0
jne 0x4e4178
cmp byte [eax - 2], 0
jne 0x4e4178
cmp byte [eax - 3], 0
jne 0x4e4178
cmp byte [eax - 4], 0
je 0x4e417b
dec eax
jmp 0x4e4160
lea esi, [eax - 4]
test esi, esi
je 0x4e41dc
cmp dword [0x58e7a0], 0
je 0x4e41d2
mov eax, dword [0x5963f8]
test eax, eax
je 0x4e419e
push eax
call dword [0x58e7f0]
add esp, 4
push esi
call dword [0x58e7cc]
sub dword [0x596398], eax
dec dword [0x5963bc]
push esi
call dword [0x58e7c4]
mov eax, dword [0x5963f8]
add esp, 8
test eax, eax
je 0x4e41dc
push eax
call dword [0x58e7f8]
add esp, 4
xor eax, eax
jmp 0x4e41e3
push esi
call dword [0x58e7c4]
add esp, 4
xor eax, eax
jmp 0x4e41e3
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [edx], ecx
mov edx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
pop ebx
mov esp, ebp
pop ebp
ret