Function at 0x4a4f08
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push edi
push esi
push ebx
xor eax, eax
lea edi, [esp + 0xc]
mov ecx, ebp
sub ecx, edi
shr ecx, 2
rep stosd dword es:[edi], eax
push 4
push 0x3000
push 0x402
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
mov esi, eax
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
cmp al, 0x22
je 0x4a52d2
cmp al, 0x3b
je 0x4a52d2
cmp eax, 0x79
jne 0x4a4f8a
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
shl ecx, 4
add ecx, 0
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52cd
cmp eax, 0x6d
jne 0x4a4fde
cmp byte [edi - 1], 0x3a
jne 0x4a4f9c
mov ebx, 4
jmp 0x4a4fa1
mov ebx, 1
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
cmp byte [edi - 1], 0x3a
jne 0x4a4fc4
mov ebx, 4
dec edi
not ecx
dec ecx
shl ecx, 4
add ecx, ebx
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52cd
cmp eax, 0x64
jne 0x4a501a
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 2
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
shl ecx, 4
add ecx, 2
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52cd
cmp eax, 0x68
jne 0x4a5056
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 3
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
shl ecx, 4
add ecx, 3
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52cd
cmp eax, 0x73
jne 0x4a5092
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 5
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
shl ecx, 4
add ecx, 5
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52cd
cmp eax, 0x30
jne 0x4a5145
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 6
mov edx, dword [ebp - 4]
sub edx, edi
or edx, edx
jne 0x4a50c4
mov ebx, 6
xor ecx, ecx
jmp 0x4a5115
cmp edx, 1
jne 0x4a50e3
cmp byte [edi + 1], 0x25
jne 0x4a50d6
mov ebx, 8
jmp 0x4a5115
cmp byte [edi + 1], 0x45
jne 0x4a5115
mov ebx, 0xa
jmp 0x4a5115
cmp byte [edi + 1], 0x2e
jne 0x4a50ee
add edi, 2
jmp 0x4a50ef
inc edi
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
cmp byte [edi], 0x25
jne 0x4a5104
mov ebx, 8
jmp 0x4a5115
cmp byte [edi], 0x45
jne 0x4a5110
mov ebx, 0xa
jmp 0x4a5115
mov ebx, 6
shl ecx, 4
movzx eax, byte [esi + 2]
and eax, 0xf
cmp eax, 0xd
jne 0x4a512d
add ecx, eax
dec dword [ebp - 0xc]
dec byte [esi]
jmp 0x4a512f
add ecx, ebx
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52d2
cmp eax, 0x3f
jne 0x4a5186
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 9
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
shl ecx, 4
add ecx, 9
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a52d2
cmp eax, 0x5b
jne 0x4a5230
xor ebx, ebx
movzx edx, byte [edi + 1]
or edx, 0x20
cmp edx, 0x48
jne 0x4a51a4
mov ebx, 0xb
jmp 0x4a5202
cmp edx, 0x4d
jne 0x4a51b0
mov ebx, 0xc
jmp 0x4a5202
cmp edx, 0x24
jne 0x4a5202
push edi
push esi
mov ecx, 0
mov eax, 2
shl eax, cl
add edi, eax
mov eax, dword [ebp - 4]
sub eax, edi
shr eax, cl
mov ecx, eax
mov edx, edi
mov eax, 0x2d
mov ebx, ecx
repne scasb al, byte es:[edi]
sub ebx, ecx
dec ebx
or ebx, ebx
je 0x4a51fe
mov ecx, ebx
mov ebx, 0xd
lea edi, [esi + 0x102]
mov esi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
xor eax, eax
lodsb al, byte [esi]
stosw word es:[edi], ax
loop 0x4a51f7
jmp 0x4a5200
xor ebx, ebx
pop esi
pop edi
mov dword [ebp - 0x10], ebx
mov eax, 0x5d
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
or ebx, ebx
je 0x4a52cd
shl ecx, 4
add ebx, ecx
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], bl
jmp 0x4a52cd
cmp eax, 0x3b
jne 0x4a5240
jmp 0x4a52d2
cmp eax, 0x22
jne 0x4a526c
inc edi
or ecx, 0xffffffff
push edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, dword [ebp - 0x14]
lea edi, [esi + edx*2 + 0x102]
pop esi
add dword [ebp - 0x14], ecx
xor eax, eax
lodsb al, byte [esi]
stosw word es:[edi], ax
loop 0x4a525f
lea edi, [esi + 1]
mov esi, dword [ebp - 8]
jmp 0x4a52cd
cmp eax, 0x5c
je 0x4a5276
cmp eax, 0x23
jne 0x4a5280
mov dword [ebp - 0x10], 0xff
inc edi
jmp 0x4a52cd
cmp eax, 0x2c
jne 0x4a5293
cmp dword [ebp - 0x10], 0xff
je 0x4a5290
jmp 0x4a52b7
inc edi
jmp 0x4a52cd
cmp eax, 0x5f
je 0x4a52ac
cmp eax, 0x2a
je 0x4a52ac
cmp eax, 0x2d
je 0x4a52ac
cmp eax, 0x28
je 0x4a52ac
cmp eax, 0x29
jne 0x4a52af
inc edi
jmp 0x4a52cd
cmp dword [ebp - 0x10], 5
jne 0x4a52b7
jmp 0x4a52d2
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], ax
inc dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x10], 0
jmp 0x4a4f3b
movzx eax, byte [esi + 2]
mov edx, eax
and edx, 0xf
mov ebx, dword [ebp + 0x10]
cmp edx, 6
jne 0x4a5306
cmp dword [ebp - 0x14], 1
jbe 0x4a5306
mov edx, 0xd
and byte [esi + 2], 0xf0
add dl, byte [esi + 2]
mov byte [esi + 2], dl
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov edx, 0xd
cmp edx, 6
je 0x4a531a
cmp edx, 8
je 0x4a531a
cmp edx, 9
je 0x4a531a
cmp edx, 0xa
jne 0x4a532d
mov eax, dword [esi]
and eax, 0xffffff
mov dword [ebx], eax
mov eax, 4
jmp 0x4a53d8
cmp edx, 0xd
jne 0x4a535e
mov edi, ebx
movzx eax, byte [esi]
lea edx, [esi + 2]
lea ecx, [eax + 2]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov byte [ebx + 1], cl
lea esi, [esi + 0x102]
rep movsw word es:[edi], word [esi]
add edi, 2
lea eax, [edi + 3]
and eax, 0xfffffffc
sub eax, ebx
jmp 0x4a53d8
mov edi, ebx
movzx ebx, byte [esi]
or ebx, ebx
je 0x4a53c5
lea edx, [esi + 2]
lea ecx, [ebx + 2]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
lea esi, [esi + 0x102]
lodsw ax, word [esi]
and eax, 0xffff
je 0x4a53ce
cmp eax, 1
jne 0x4a53c0
movzx eax, byte [edx]
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 1
jne 0x4a53aa
cmp eax, 3
je 0x4a53a0
cmp eax, 4
jne 0x4a53aa
mov word [edi], 0x7325
add edi, 2
jmp 0x4a53bd
push edx
push eax
push str.___02dd
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
pop edx
add edi, eax
inc edx
jmp 0x4a53c1
stosb byte es:[edi], al
jmp 0x4a5378
mov dword [edi], 0x60001
add edi, 4
inc edi
lea eax, [edi + 3]
and eax, 0xfffffffc
sub eax, dword [ebp + 0x10]
push eax
push 0x8000
push 0
push dword [ebp - 8]
call sub.KERNEL32.dll_VirtualFree
pop eax
pop ebx
pop esi
pop edi
leave
ret 0xc