Function at 0x4e52a0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], edx
cmp edi, ebx
jne 0x4e52c9
xor esi, esi
jmp 0x4e52e0
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e52d0
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test cl, 0x40
jne 0x4e52f1
cmp dword [0x56f04c], ebx
je 0x4e57d9
cmp esi, 5
jl 0x4e57d9
cmp dword [edi], 0x656c6966
jne 0x4e57d9
cmp byte [edi + 4], 0x3a
jne 0x4e57d9
lea eax, [esi + 2]
cdq
mov dword [esp + 0x10], ebx
mov ebx, eax
or ecx, 0x40
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x4e5347
cmp byte [eax + edi], 0x26
jne 0x4e5338
mov ecx, 1
jmp 0x4e533a
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x4e532b
call fcn.004e2cd0
test eax, eax
jne 0x4e537a
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, eax
je 0x4e536c
push eax
push ebx
call fcn.0046f4d0
add esp, 8
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x4e5372
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x4e5386
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 5], 0x2f
mov ecx, 5
jne 0x4e540e
cmp byte [edi + 6], 0x2f
jne 0x4e540e
mov al, byte [edi + 7]
lea edx, [edi + 7]
mov ecx, 7
mov dword [esp + 0x30], edx
test al, al
je 0x4e540e
lea ebx, [ebx]
cmp al, 0x2f
je 0x4e53bd
mov al, byte [ecx + edi + 1]
inc ecx
test al, al
jne 0x4e53b0
cmp ecx, 7
je 0x4e540e
cmp ecx, 0x10
jne 0x4e53ee
lea eax, [ecx - 7]
mov esi, str.localhost
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x4e53ea
sub eax, 4
add edx, 4
add esi, 4
cmp eax, 4
jae 0x4e53d0
mov dl, byte [edx]
cmp dl, byte [esi]
je 0x4e540a
mov edx, dword [esp + 0x30]
push edx
add ecx, 0xfffffff9
push ecx
push str.invalid_uri_authority:__.s
call fcn.00471670
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4e585d
mov ebx, dword [esp + 0x18]
mov al, byte [ecx + edi]
xor esi, esi
mov dword [esp + 0x1c], esi
test al, al
je 0x4e5590
nop
cmp al, 0x23
je 0x4e557e
inc ecx
cmp al, 0x25
jne 0x4e54f4
mov dl, byte [ecx + edi]
movzx ebx, dl
test byte [ebx + 0x53b7b0], 8
je 0x4e54f0
movzx ebx, byte [ecx + edi + 1]
test byte [ebx + 0x53b7b0], 8
je 0x4e54f0
movsx esi, byte [ecx + edi + 1]
movsx eax, dl
mov edx, eax
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub al, 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 [esp + 0x30], esi
movzx edx, byte [esp + 0x30]
sub dl, bl
and eax, 0xf
shl eax, 4
add ecx, 2
and edx, 0xf
add eax, edx
jne 0x4e54ea
mov al, byte [ecx + edi]
test al, al
je 0x4e556b
mov edx, dword [esp + 0x1c]
mov edi, edi
cmp al, 0x23
je 0x4e556b
test edx, edx
jne 0x4e54c0
cmp al, 0x3f
jmp 0x4e54d6
cmp edx, 1
jne 0x4e54cf
cmp al, 0x3d
je 0x4e556b
jmp 0x4e54d4
cmp edx, 2
jne 0x4e54dc
cmp al, 0x26
je 0x4e556b
mov al, byte [ecx + edi + 1]
inc ecx
test al, al
jne 0x4e54b0
jmp 0x4e556b
mov ebx, dword [esp + 0x18]
jmp 0x4e555f
mov ebx, dword [esp + 0x18]
cmp esi, 1
jne 0x4e5542
cmp al, 0x26
je 0x4e5501
cmp al, 0x3d
jne 0x4e555f
mov edx, dword [esp + 0x10]
cmp byte [ebx + edx - 1], 0
jne 0x4e5529
mov al, byte [ecx + edi]
test al, al
je 0x4e556b
cmp al, 0x23
je 0x4e556b
cmp byte [ecx + edi - 1], 0x26
je 0x4e556b
mov al, byte [ecx + edi + 1]
inc ecx
test al, al
jne 0x4e5513
jmp 0x4e556b
cmp al, 0x26
jne 0x4e5538
mov byte [ebx + edx], 0
inc edx
mov dword [esp + 0x10], edx
jmp 0x4e555d
mov dword [esp + 0x1c], 2
jmp 0x4e555d
test esi, esi
jne 0x4e554c
cmp al, 0x3f
je 0x4e5555
jmp 0x4e555f
cmp esi, 2
jne 0x4e555f
cmp al, 0x26
jne 0x4e555f
mov dword [esp + 0x1c], 1
xor al, al
mov edx, dword [esp + 0x10]
mov byte [ebx + edx], al
inc edx
mov dword [esp + 0x10], edx
mov al, byte [ecx + edi]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
test al, al
jne 0x4e5420
cmp esi, 1
jne 0x4e5590
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov word [ebx + eax], 0
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e55a0
sub eax, edx
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
lea ecx, [eax + ebx + 1]
je 0x4e5830
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e55c5
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4e55e5
xor ebx, ebx
jmp 0x4e5604
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e55f0
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x4e5633
cmp byte [ecx], 0x76
jne 0x4e579c
cmp byte [ecx + 1], 0x66
jne 0x4e579c
cmp byte [ecx + 2], 0x73
jne 0x4e579c
mov dword [esp + 0x3c], eax
jmp 0x4e579c
cmp esi, 5
jne 0x4e5666
cmp dword [ecx], 0x68636163
jne 0x4e579c
cmp byte [ecx + 4], 0x65
jne 0x4e579c
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x56feb0
mov dword [esp + 0x28], str.cache
jmp 0x4e5699
cmp esi, 4
jne 0x4e579c
cmp dword [ecx], 0x65646f6d
jne 0x4e579c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x56fec8
and eax, 0x87
mov dword [esp + 0x28], str.access
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x4e5749
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e56b4
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x4e5734
mov edx, dword [esp + 0x10]
mov esi, ebx
cmp ebx, 4
jb 0x4e56e5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4e56ed
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4e56d1
test esi, esi
je 0x4e576e
movzx ebx, byte [ecx]
movzx eax, byte [edx]
sub eax, ebx
jne 0x4e5728
cmp esi, 1
jbe 0x4e576a
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4e5728
cmp esi, 2
jbe 0x4e576a
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4e5728
cmp esi, 3
jbe 0x4e576a
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 0x4e576e
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x4e56af
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call fcn.00471670
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4e585d
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x4e5749
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x4e57b0
mov ecx, dword [esp + 0x30]
not ecx
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
cmp byte [ebx + eax + 1], 0
lea ecx, [ebx + eax + 1]
jne 0x4e55c0
jmp 0x4e5830
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.00471670
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x24], 3
jmp 0x4e5865
lea eax, [esi + 2]
cdq
mov ebx, eax
mov dword [esp + 0x34], edx
call fcn.004e2cd0
test eax, eax
jne 0x4e537a
mov eax, dword [esp + 0x34]
mov edx, ebx
or edx, eax
je 0x4e5808
push eax
push ebx
call fcn.0046f4d0
add esp, 8
mov ebx, eax
jmp 0x4e580a
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4e537a
test esi, esi
je 0x4e5825
push esi
push edi
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov word [ebx + esi], 0
mov esi, dword [esp + 0x3c]
push esi
call fcn.0046eb30
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4e58cd
push esi
push str.no_such_vfs:__s
call fcn.00471670
mov edx, dword [ebp + 0x14]
add esp, 8
mov dword [edx], eax
mov dword [esp + 0x24], 1
cmp dword [0x56f040], 0
je 0x4e58b7
mov eax, dword [0x15799b8]
test eax, eax
je 0x4e5881
push eax
call dword [0x56f098]
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call dword [0x56f074]
sub dword [0x1579800], eax
dec dword [0x1579824]
add esp, 4
push esi
call dword [0x56f06c]
mov eax, dword [0x15799b8]
add esp, 4
test eax, eax
je 0x4e58c5
push eax
call dword [0x56f0a0]
jmp 0x4e58c2
mov eax, dword [esp + 0x20]
push eax
call dword [0x56f06c]
add esp, 4
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
pop ebx
mov esp, ebp
pop ebp
ret