Function at 0x49c368
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
push edi
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 - 0xc], eax
mov esi, eax
mov edi, dword [ebp + 8]
mov edi, dword [edi]
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x118], 0x600
jne 0x49c3c1
movzx eax, word [edi]
movzx ecx, byte [edi + 2]
mov dword [ebp - 8], ecx
shl eax, cl
lea eax, [eax + edi + 3]
add edi, 3
jmp 0x49c3c9
movzx eax, byte [edi]
lea eax, [eax + edi + 1]
inc edi
mov dword [ebp - 4], eax
movzx eax, byte [edi]
cmp eax, 0x79
jne 0x49c419
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c3f9
repe scasw ax, word es:[edi]
jmp 0x49c3fb
repe scasb al, byte es:[edi]
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
shl ecx, 4
add ecx, 0
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c814
cmp eax, 0x6d
jne 0x49c489
mov ecx, dword [ebp - 8]
inc ecx
mov edx, ecx
neg edx
cmp byte [edx + edi], 0x3a
jne 0x49c433
mov ebx, 4
jmp 0x49c438
mov ebx, 1
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c459
repe scasw ax, word es:[edi]
jmp 0x49c45b
repe scasb al, byte es:[edi]
mov edx, dword [ebp - 8]
inc edx
neg edx
cmp byte [edx + edi], 0x3a
jne 0x49c46c
mov ebx, 4
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
shl ecx, 4
add ecx, ebx
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c814
cmp eax, 0x64
jne 0x49c4d3
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 2
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c4b3
repe scasw ax, word es:[edi]
jmp 0x49c4b5
repe scasb al, byte es:[edi]
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
shl ecx, 4
add ecx, 2
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c814
cmp eax, 0x68
jne 0x49c51d
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 3
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c4fd
repe scasw ax, word es:[edi]
jmp 0x49c4ff
repe scasb al, byte es:[edi]
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
shl ecx, 4
add ecx, 3
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c814
cmp eax, 0x73
jne 0x49c567
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 5
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c547
repe scasw ax, word es:[edi]
jmp 0x49c549
repe scasb al, byte es:[edi]
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
shl ecx, 4
add ecx, 5
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c814
cmp eax, 0x30
jne 0x49c62c
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 6
mov edx, dword [ebp - 4]
sub edx, edi
or edx, edx
jne 0x49c599
mov ebx, 6
xor ecx, ecx
jmp 0x49c5fc
cmp edx, 1
jne 0x49c5bc
mov edx, dword [ebp - 8]
inc edx
cmp byte [edx + edi], 0x25
jne 0x49c5af
mov ebx, 8
jmp 0x49c5fc
cmp byte [edx + edi], 0x45
jne 0x49c5fc
mov ebx, 0xa
jmp 0x49c5fc
mov ecx, dword [ebp - 8]
mov edx, 2
shl edx, cl
add edi, edx
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c5d6
repe scasw ax, word es:[edi]
jmp 0x49c5d8
repe scasb al, byte es:[edi]
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
cmp byte [edi], 0x25
jne 0x49c5eb
mov ebx, 8
jmp 0x49c5fc
cmp byte [edi], 0x45
jne 0x49c5f7
mov ebx, 0xa
jmp 0x49c5fc
mov ebx, 6
shl ecx, 4
movzx eax, byte [esi + 2]
and eax, 0xf
cmp eax, 0xd
jne 0x49c614
add ecx, eax
dec dword [ebp - 0x10]
dec byte [esi]
jmp 0x49c616
add ecx, ebx
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c81d
cmp eax, 0x3f
jne 0x49c67b
mov edx, dword [ebp - 0x18]
mov word [esi + edx*2 + 0x102], 1
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 9
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c656
repe scasw ax, word es:[edi]
jmp 0x49c658
repe scasb al, byte es:[edi]
dec edi
sub edi, dword [ebp - 8]
not ecx
dec ecx
shl ecx, 4
add ecx, 9
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], cl
jmp 0x49c81d
cmp eax, 0x5b
jne 0x49c748
xor ebx, ebx
mov edx, dword [ebp - 8]
inc edx
movzx edx, byte [edx + edi]
or edx, 0x20
cmp edx, 0x48
jne 0x49c69d
mov ebx, 0xb
jmp 0x49c70f
cmp edx, 0x4d
jne 0x49c6a9
mov ebx, 0xc
jmp 0x49c70f
cmp edx, 0x24
jne 0x49c70f
push edi
push esi
mov ecx, dword [ebp - 8]
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
cmp dword [ebp - 8], 0
je 0x49c6d9
repne scasw ax, word es:[edi]
jmp 0x49c6db
repne scasb al, byte es:[edi]
sub ebx, ecx
dec ebx
or ebx, ebx
je 0x49c70b
mov ecx, ebx
mov ebx, 0xd
lea edi, [esi + 0x102]
mov esi, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 8], 0
je 0x49c702
rep movsw word es:[edi], word [esi]
jmp 0x49c70d
xor eax, eax
lodsb al, byte [esi]
stosw word es:[edi], ax
loop 0x49c704
jmp 0x49c70d
xor ebx, ebx
pop esi
pop edi
mov dword [ebp - 0x14], ebx
mov eax, 0x5d
or ecx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x49c725
repne scasw ax, word es:[edi]
jmp 0x49c727
repne scasb al, byte es:[edi]
not ecx
dec ecx
or ebx, ebx
je 0x49c814
shl ecx, 4
add ebx, ecx
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
inc byte [esi]
mov byte [edx + esi + 2], bl
jmp 0x49c814
cmp eax, 0x3b
jne 0x49c753
inc edi
jmp 0x49c814
cmp eax, 0x22
jne 0x49c7a3
inc edi
add edi, dword [ebp - 8]
or ecx, 0xffffffff
push edi
cmp dword [ebp - 8], 0
je 0x49c76b
repne scasw ax, word es:[edi]
jmp 0x49c76d
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 1
jbe 0x49c7a0
dec ecx
mov edx, dword [ebp - 0x18]
lea edi, [esi + edx*2 + 0x102]
pop esi
add dword [ebp - 0x18], ecx
cmp dword [ebp - 8], 0
je 0x49c78e
rep movsw word es:[edi], word [esi]
jmp 0x49c795
xor eax, eax
lodsb al, byte [esi]
stosw word es:[edi], ax
loop 0x49c790
lea edi, [esi + 1]
add edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
jmp 0x49c814
pop esi
jmp 0x49c814
cmp eax, 0x5c
je 0x49c7ad
cmp eax, 0x23
jne 0x49c7ba
mov dword [ebp - 0x14], 0xff
inc edi
add edi, dword [ebp - 8]
jmp 0x49c814
cmp eax, 0x2c
jne 0x49c7d0
cmp dword [ebp - 0x14], 0xff
je 0x49c7ca
jmp 0x49c7f2
inc edi
add edi, dword [ebp - 8]
jmp 0x49c814
cmp eax, 0x5f
je 0x49c7e4
cmp eax, 0x2a
je 0x49c7e4
cmp eax, 0x2d
je 0x49c7e4
cmp eax, 0x20
jne 0x49c7ea
inc edi
add edi, dword [ebp - 8]
jmp 0x49c814
cmp dword [ebp - 0x14], 5
jne 0x49c7f2
jmp 0x49c81d
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 8], 0
je 0x49c7fe
movzx eax, word [edi]
mov word [esi + edx*2 + 0x102], ax
inc dword [ebp - 0x18]
inc edi
add edi, dword [ebp - 8]
mov dword [ebp - 0x14], 0
cmp edi, dword [ebp - 4]
jb 0x49c3cc
movzx eax, byte [esi + 2]
mov edx, eax
and edx, 0xf
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, word [eax - 2]
sub eax, 0xa4
mov ecx, dword [edi + 0x110]
mov dword [ecx + eax*4], ebx
cmp edx, 6
jne 0x49c86b
cmp dword [ebp - 0x18], 1
jbe 0x49c86b
mov edx, 0xd
and byte [esi + 2], 0xf0
add dl, byte [esi + 2]
mov byte [esi + 2], dl
dec dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov edx, 0xd
cmp edx, 6
je 0x49c87f
cmp edx, 8
je 0x49c87f
cmp edx, 9
je 0x49c87f
cmp edx, 0xa
jne 0x49c891
mov eax, dword [esi]
and eax, 0xffffff
mov dword [ebx], eax
add dword [edi + 4], 4
jmp 0x49c959
cmp edx, 0xd
jne 0x49c8c9
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 - 0xc]
mov ecx, dword [ebp - 0x1c]
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
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
jmp 0x49c959
mov edi, ebx
movzx ebx, byte [esi]
or ebx, ebx
je 0x49c931
lea edx, [esi + 2]
lea ecx, [ebx + 2]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
lea esi, [esi + 0x102]
lodsw ax, word [esi]
and eax, 0xffff
je 0x49c93a
cmp eax, 1
jne 0x49c92c
movzx eax, byte [edx]
mov ecx, eax
and ecx, 0xf
shr eax, 4
cmp ecx, 1
jne 0x49c915
cmp eax, 3
je 0x49c90b
cmp eax, 4
jne 0x49c915
mov word [edi], 0x7325
add edi, 2
jmp 0x49c929
push edx
push eax
push str.___02dd
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
pop edx
lea edi, [edi + eax*2]
inc edx
jmp 0x49c92d
stosb byte es:[edi], al
jmp 0x49c8e3
mov dword [edi], 0x60001
add edi, 4
inc edi
lea eax, [edi + 3]
and eax, 0xfffffffc
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov esi, eax
lea eax, [ebx + eax + 4]
sub edi, eax
mov eax, edi
mov byte [esi + 1], al
push 0x8000
push 0
push dword [ebp - 0xc]
call sub.KERNEL32.dll_VirtualFree
pop ebx
pop edi
pop esi
leave
ret 8