Function at 0x4a52b8
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 0x4a5682
cmp al, 0x3b
je 0x4a5682
cmp eax, 0x79
jne 0x4a533a
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 0x4a567d
cmp eax, 0x6d
jne 0x4a538e
cmp byte [edi - 1], 0x3a
jne 0x4a534c
mov ebx, 4
jmp 0x4a5351
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 0x4a5374
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 0x4a567d
cmp eax, 0x64
jne 0x4a53ca
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 0x4a567d
cmp eax, 0x68
jne 0x4a5406
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 0x4a567d
cmp eax, 0x73
jne 0x4a5442
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 0x4a567d
cmp eax, 0x30
jne 0x4a54f5
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 0x4a5474
mov ebx, 6
xor ecx, ecx
jmp 0x4a54c5
cmp edx, 1
jne 0x4a5493
cmp byte [edi + 1], 0x25
jne 0x4a5486
mov ebx, 8
jmp 0x4a54c5
cmp byte [edi + 1], 0x45
jne 0x4a54c5
mov ebx, 0xa
jmp 0x4a54c5
cmp byte [edi + 1], 0x2e
jne 0x4a549e
add edi, 2
jmp 0x4a549f
inc edi
or ecx, 0xffffffff
repe scasb al, byte es:[edi]
dec edi
not ecx
dec ecx
cmp byte [edi], 0x25
jne 0x4a54b4
mov ebx, 8
jmp 0x4a54c5
cmp byte [edi], 0x45
jne 0x4a54c0
mov ebx, 0xa
jmp 0x4a54c5
mov ebx, 6
shl ecx, 4
movzx eax, byte [esi + 2]
and eax, 0xf
cmp eax, 0xd
jne 0x4a54dd
add ecx, eax
dec dword [ebp - 0xc]
dec byte [esi]
jmp 0x4a54df
add ecx, ebx
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x4a5682
cmp eax, 0x3f
jne 0x4a5536
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 0x4a5682
cmp eax, 0x5b
jne 0x4a55e0
xor ebx, ebx
movzx edx, byte [edi + 1]
or edx, 0x20
cmp edx, 0x48
jne 0x4a5554
mov ebx, 0xb
jmp 0x4a55b2
cmp edx, 0x4d
jne 0x4a5560
mov ebx, 0xc
jmp 0x4a55b2
cmp edx, 0x24
jne 0x4a55b2
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 0x4a55ae
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 0x4a55a7
jmp 0x4a55b0
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 0x4a567d
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 0x4a567d
cmp eax, 0x3b
jne 0x4a55f0
jmp 0x4a5682
cmp eax, 0x22
jne 0x4a561c
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 0x4a560f
lea edi, [esi + 1]
mov esi, dword [ebp - 8]
jmp 0x4a567d
cmp eax, 0x5c
je 0x4a5626
cmp eax, 0x23
jne 0x4a5630
mov dword [ebp - 0x10], 0xff
inc edi
jmp 0x4a567d
cmp eax, 0x2c
jne 0x4a5643
cmp dword [ebp - 0x10], 0xff
je 0x4a5640
jmp 0x4a5667
inc edi
jmp 0x4a567d
cmp eax, 0x5f
je 0x4a565c
cmp eax, 0x2a
je 0x4a565c
cmp eax, 0x2d
je 0x4a565c
cmp eax, 0x28
je 0x4a565c
cmp eax, 0x29
jne 0x4a565f
inc edi
jmp 0x4a567d
cmp dword [ebp - 0x10], 5
jne 0x4a5667
jmp 0x4a5682
mov edx, dword [ebp - 0x14]
mov word [esi + edx*2 + 0x102], ax
inc dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x10], 0
jmp 0x4a52eb
movzx eax, byte [esi + 2]
mov edx, eax
and edx, 0xf
mov ebx, dword [ebp + 0x10]
cmp edx, 6
jne 0x4a56b6
cmp dword [ebp - 0x14], 1
jbe 0x4a56b6
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 0x4a56ca
cmp edx, 8
je 0x4a56ca
cmp edx, 9
je 0x4a56ca
cmp edx, 0xa
jne 0x4a56dd
mov eax, dword [esi]
and eax, 0xffffff
mov dword [ebx], eax
mov eax, 4
jmp 0x4a5788
cmp edx, 0xd
jne 0x4a570e
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 0x4a5788
mov edi, ebx
movzx ebx, byte [esi]
or ebx, ebx
je 0x4a5775
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 0x4a577e
cmp eax, 1
jne 0x4a5770
movzx eax, byte [edx]
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 1
jne 0x4a575a
cmp eax, 3
je 0x4a5750
cmp eax, 4
jne 0x4a575a
mov word [edi], 0x7325
add edi, 2
jmp 0x4a576d
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 0x4a5771
stosb byte es:[edi], al
jmp 0x4a5728
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