Function at 0x49889e
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
push edi
push ebx
mov dword [ebp - 0xc], eax
call fcn.004a156e
test byte [ebp - 0xc], 0x40
mov esi, eax
pop ecx
jne 0x4988d2
cmp byte [0x705e86], 0
je 0x498c5e
cmp esi, 5
jl 0x498c5e
push 5
push str.file:
push ebx
call fcn.0062534d
add esp, 0xc
test eax, eax
jne 0x498c5e
and dword [ebp - 8], eax
lea eax, [esi + 8]
or dword [ebp - 0xc], 0x40
xor ecx, ecx
cdq
cmp byte [ecx + ebx], 0x26
jne 0x49890f
xor edi, edi
inc edi
and dword [ebp - 0x18], 0
jmp 0x498920
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 0x498900
push edx
push eax
call fcn.0045bbe7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x498c71
push 4
push 0
push edi
call fcn.00626f50
add esp, 0xc
add edi, 4
cmp byte [ebx + 5], 0x2f
push 5
pop esi
jne 0x4989b6
cmp byte [ebx + 6], 0x2f
jne 0x4989b6
lea ecx, [ebx + 7]
mov al, byte [ecx]
mov dword [ebp - 0x24], ecx
push 7
pop esi
test al, al
je 0x4989b6
cmp al, 0x2f
je 0x498977
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x49896b
cmp esi, 7
je 0x4989b6
cmp esi, 0x10
jne 0x498998
push 9
push ecx
push str.localhost
call fcn.0062534d
add esp, 0xc
test eax, eax
je 0x4989b6
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.0045baa5
add esp, 0xc
jmp 0x498cd2
mov cl, byte [esi + ebx]
xor edx, edx
mov dword [ebp - 0x10], edx
test cl, cl
je 0x498afc
cmp cl, 0x23
je 0x498aed
inc esi
cmp cl, 0x25
jne 0x498a72
movzx eax, byte [esi + ebx]
test byte [eax + 0x68fd68], 8
je 0x498a72
movzx eax, byte [esi + ebx + 1]
test byte [eax + 0x68fd68], 8
je 0x498a72
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 0x498ad8
jmp 0x498a69
cmp al, 0x23
je 0x498ae2
test edx, edx
jne 0x498a4a
cmp al, 0x3f
je 0x498ae2
cmp edx, 1
jne 0x498a5f
cmp al, 0x3d
je 0x498ae2
cmp al, 0x26
je 0x498ae2
cmp edx, 2
jne 0x498a68
cmp al, 0x26
je 0x498ae2
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x498a36
jmp 0x498ae2
cmp edx, 1
jne 0x498abd
cmp cl, 0x26
je 0x498a81
cmp cl, 0x3d
jne 0x498ad8
mov eax, dword [ebp - 8]
cmp byte [edi + eax - 1], 0
je 0x498aaa
cmp cl, 0x26
jne 0x498ab3
mov ecx, eax
mov byte [edi + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
mov eax, ecx
jmp 0x498ab9
cmp al, 0x23
je 0x498ae2
cmp byte [esi + ebx - 1], 0x26
je 0x498ae2
inc esi
mov al, byte [esi + ebx]
test al, al
jne 0x498a9e
jmp 0x498ae2
push 2
pop edx
mov dword [ebp - 0x10], edx
xor cl, cl
jmp 0x498adb
test edx, edx
jne 0x498ac6
cmp cl, 0x3f
je 0x498ad0
cmp edx, 2
jne 0x498ad8
cmp cl, 0x26
jne 0x498ad8
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 0x4989c6
mov eax, dword [ebp - 8]
cmp edx, 1
jne 0x498aff
mov byte [edi + eax], 0
inc eax
jmp 0x498aff
mov eax, dword [ebp - 8]
push 4
add eax, edi
push 0
push eax
call fcn.00626f50
push edi
call fcn.004a156e
add esp, 0x10
lea esi, [eax + 1]
add esi, edi
jmp 0x498c3e
push esi
call fcn.004a156e
mov dword [ebp - 0x20], eax
lea ebx, [eax + 1]
add ebx, esi
push ebx
call fcn.004a156e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
cmp eax, 3
jne 0x498b5e
push eax
push esi
push 0x69bb8c
call fcn.0062534d
add esp, 0xc
test eax, eax
jne 0x498c38
mov dword [ebp + 8], ebx
jmp 0x498c38
cmp eax, 5
jne 0x498b8f
push eax
push esi
push str.cache
call fcn.0062534d
add esp, 0xc
test eax, eax
jne 0x498c38
mov ecx, 0x60000
mov dword [ebp - 0x18], str.cache
mov esi, ecx
mov eax, 0x707928
jmp 0x498bc7
cmp eax, 4
jne 0x498c38
push eax
push esi
push str.mode
call fcn.0062534d
add esp, 0xc
test eax, eax
jne 0x498c38
mov ecx, dword [ebp - 0xc]
mov edx, 0x87
mov esi, edx
mov dword [ebp - 0x18], str.access
mov eax, 0x707940
and ecx, edx
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
jmp 0x498bfc
push eax
call fcn.004a156e
pop ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x498bf2
push ecx
push dword [ebp - 0x1c]
push ebx
call fcn.0062534d
add esp, 0xc
test eax, eax
je 0x498c14
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 0x498bd3
push ebx
push dword [ebp - 0x18]
push str.no_such__s_mode:__s
jmp 0x4989a2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x498c06
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x498c49
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 0x498b1e
jmp 0x498ca9
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 3
push str._s_mode_not_allowed:__s
jmp 0x4989a9
lea eax, [esi + 8]
cdq
push edx
push eax
call fcn.0045bbe7
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x498c76
push 7
pop eax
jmp 0x498cf0
push 4
push 0
push edi
call fcn.00626f50
add esp, 0xc
add edi, 4
test esi, esi
je 0x498c95
push esi
push ebx
push edi
call fcn.006269d0
add esp, 0xc
push 4
lea eax, [edi + esi]
push 0
push eax
call fcn.00626f50
add esp, 0xc
and dword [ebp - 0xc], 0xffffffbf
mov esi, dword [ebp + 8]
push esi
call fcn.0044fe03
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
jne 0x498ce0
push esi
push str.no_such_vfs:__s
mov dword [ebp - 0x14], 1
call fcn.0045baa5
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push edi
call fcn.0045c317
pop ecx
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ecx], edi
pop edi
pop esi
pop ebx
leave
ret