Function at 0x4a4030
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 0x4a4059
xor esi, esi
jmp 0x4a4070
mov eax, edi
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a4060
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
test cl, 0x40
jne 0x4a4081
cmp dword [0x66c5fc], ebx
je 0x4a4559
cmp esi, 5
jl 0x4a4559
cmp dword [edi], 0x656c6966
jne 0x4a4559
cmp byte [edi + 4], 0x3a
jne 0x4a4559
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 0x4a40d7
cmp byte [eax + edi], 0x26
jne 0x4a40c8
mov ecx, 1
jmp 0x4a40ca
xor ecx, ecx
xor edx, edx
add ebx, ecx
adc dword [esp + 0x34], edx
inc eax
cmp eax, esi
jl 0x4a40bb
call fcn.004a1b00
test eax, eax
jne 0x4a410a
mov eax, dword [esp + 0x34]
mov ecx, ebx
or ecx, eax
je 0x4a40fc
push eax
push ebx
call fcn.00433a80
add esp, 8
mov ebx, eax
mov dword [esp + 0x18], eax
jmp 0x4a4102
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x4a4116
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, 0x2f
mov esi, 5
cmp byte [edi + 5], dl
jne 0x4a419e
cmp byte [edi + 6], dl
jne 0x4a419e
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
mov dword [esp + 0x30], ecx
test al, al
je 0x4a419e
lea ebx, [ebx]
cmp al, dl
je 0x4a414d
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a4140
cmp esi, 7
je 0x4a419e
cmp esi, 0x10
jne 0x4a417e
lea eax, [esi - 7]
mov edx, str.localhost
nop
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x4a417a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a4160
mov al, byte [ecx]
cmp al, byte [edx]
je 0x4a419a
mov ecx, dword [esp + 0x30]
push ecx
add esi, 0xfffffff9
push esi
push str.invalid_uri_authority:__.s
call fcn.00435c70
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4a45e0
mov ebx, dword [esp + 0x18]
mov al, byte [esi + edi]
xor edx, edx
mov dword [esp + 0x1c], edx
test al, al
je 0x4a430d
nop
cmp al, 0x23
je 0x4a42fb
inc esi
cmp al, 0x25
jne 0x4a426c
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x5fc960], 8
je 0x4a4268
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x5fc960], 8
je 0x4a4268
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 0x4a4260
mov al, byte [esi + edi]
test al, al
je 0x4a42e8
mov ecx, dword [esp + 0x1c]
cmp al, 0x23
je 0x4a42e8
test ecx, ecx
jne 0x4a4236
cmp al, 0x3f
jmp 0x4a424c
cmp ecx, 1
jne 0x4a4245
cmp al, 0x3d
je 0x4a42e8
jmp 0x4a424a
cmp ecx, 2
jne 0x4a4252
cmp al, 0x26
je 0x4a42e8
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a4226
jmp 0x4a42e8
mov ebx, dword [esp + 0x18]
mov al, cl
jmp 0x4a42dc
mov ebx, dword [esp + 0x18]
cmp edx, 1
jne 0x4a42bf
cmp al, 0x26
je 0x4a4279
cmp al, 0x3d
jne 0x4a42dc
mov ecx, dword [esp + 0x10]
cmp byte [ebx + ecx - 1], 0
jne 0x4a42a6
mov al, byte [esi + edi]
test al, al
je 0x4a42e8
jmp 0x4a4290
cmp al, 0x23
je 0x4a42e8
cmp byte [esi + edi - 1], 0x26
je 0x4a42e8
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x4a4290
jmp 0x4a42e8
cmp al, 0x26
jne 0x4a42b5
mov byte [ebx + ecx], 0
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4a42da
mov dword [esp + 0x1c], 2
jmp 0x4a42da
test edx, edx
jne 0x4a42c9
cmp al, 0x3f
je 0x4a42d2
jmp 0x4a42dc
cmp edx, 2
jne 0x4a42dc
cmp al, 0x26
jne 0x4a42dc
mov dword [esp + 0x1c], 1
xor al, al
mov ecx, dword [esp + 0x10]
mov byte [ebx + ecx], al
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [esi + edi]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test al, al
jne 0x4a41b0
cmp edx, 1
jne 0x4a430d
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov byte [ebx + eax], 0
mov byte [ebx + eax + 1], 0
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a4320
sub eax, edx
and eax, 0x3fffffff
cmp byte [eax + ebx + 1], 0
lea ecx, [eax + ebx + 1]
je 0x4a45b3
lea ecx, [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a4345
sub eax, esi
and eax, 0x3fffffff
mov esi, eax
lea eax, [esi + ecx + 1]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a4365
xor ebx, ebx
jmp 0x4a4384
mov eax, dword [esp + 0x10]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a4370
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
cmp esi, 3
jne 0x4a43b3
cmp byte [ecx], 0x76
jne 0x4a451c
cmp byte [ecx + 1], 0x66
jne 0x4a451c
cmp byte [ecx + 2], 0x73
jne 0x4a451c
mov dword [esp + 0x3c], eax
jmp 0x4a451c
cmp esi, 5
jne 0x4a43e6
cmp dword [ecx], 0x68636163
jne 0x4a451c
cmp byte [ecx + 4], 0x65
jne 0x4a451c
mov eax, 0x60000
mov dword [esp + 0x30], eax
mov edi, 0x66d460
mov dword [esp + 0x28], str.cache
jmp 0x4a4419
cmp esi, 4
jne 0x4a451c
cmp dword [ecx], 0x65646f6d
jne 0x4a451c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x87
mov edi, 0x66d478
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 0x4a44c9
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a4434
sub eax, esi
and eax, 0x3fffffff
cmp ebx, eax
jne 0x4a44b4
mov edx, dword [esp + 0x10]
mov esi, ebx
cmp ebx, 4
jb 0x4a4465
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4a446d
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x4a4451
test esi, esi
je 0x4a44ee
movzx ebx, byte [ecx]
movzx eax, byte [edx]
sub eax, ebx
jne 0x4a44a8
cmp esi, 1
jbe 0x4a44ea
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x4a44a8
cmp esi, 2
jbe 0x4a44ea
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x4a44a8
cmp esi, 3
jbe 0x4a44ea
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 0x4a44ee
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x4a442f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str.no_such__s_mode:__s
call fcn.00435c70
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
jmp 0x4a45e0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x4a44c9
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [esp + 0x2c]
jg 0x4a4530
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 0x4a4340
jmp 0x4a45b3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
push edx
push eax
push str._s_mode_not_allowed:__s
call fcn.00435c70
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov dword [esp + 0x24], 3
jmp 0x4a45e8
lea eax, [esi + 2]
cdq
mov ebx, eax
mov dword [esp + 0x34], edx
call fcn.004a1b00
test eax, eax
jne 0x4a410a
mov eax, dword [esp + 0x34]
mov edx, ebx
or edx, eax
je 0x4a4588
push eax
push ebx
call fcn.00433a80
add esp, 8
mov ebx, eax
jmp 0x4a458a
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4a410a
test esi, esi
je 0x4a45a5
push esi
push edi
push ebx
call fcn.00596f90
add esp, 0xc
and dword [esp + 0x14], 0xffffffbf
mov byte [ebx + esi], 0
mov byte [ebx + esi + 1], 0
mov esi, dword [esp + 0x3c]
push esi
call fcn.004330f0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4a4650
push esi
push str.no_such_vfs:__s
call fcn.00435c70
mov edx, dword [ebp + 0x14]
add esp, 8
mov dword [edx], eax
mov dword [esp + 0x24], 1
cmp dword [0x66c5f0], 0
je 0x4a463a
mov eax, dword [0x672720]
test eax, eax
je 0x4a4604
push eax
call dword [0x66c648]
add esp, 4
mov esi, dword [esp + 0x20]
push esi
call dword [0x66c624]
sub dword [0x672568], eax
dec dword [0x67258c]
add esp, 4
push esi
call dword [0x66c61c]
mov eax, dword [0x672720]
add esp, 4
test eax, eax
je 0x4a4648
push eax
call dword [0x66c650]
jmp 0x4a4645
mov eax, dword [esp + 0x20]
push eax
call dword [0x66c61c]
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