Function at 0x4d8004
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d8a6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, eax
dec edx
movzx edx, byte [edx]
cmp edx, 0x2e
jg 0x4d808f
je 0x4d8154
cmp edx, 0x28
jg 0x4d8077
je 0x4d849c
sub edx, 1
jb 0x4d85e2
sub edx, 0x23
je 0x4d810c
jmp 0x4d8878
sub edx, 0x29
je 0x4d85e2
dec edx
sub edx, 2
jb 0x4d85f3
jmp 0x4d8878
cmp edx, 0x5c
jg 0x4d80b1
je 0x4d8604
sub edx, 0x3f
je 0x4d85f3
sub edx, 0x1c
je 0x4d819a
jmp 0x4d8878
sub edx, 0x5e
je 0x4d80c4
sub edx, 0x1e
je 0x4d85e2
jmp 0x4d8878
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x4d80e8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x4d80fa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x4d80fa
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
mov dl, 0x22
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x4d8130
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x4d8142
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x4d8142
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
mov dl, 0x23
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 4
je 0x4d8182
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d8a4d
mov dl, 0x24
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x4d8a4d
cmp byte [eax], 0x5e
jne 0x4d81d0
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4d81b9
push ebp
mov al, 0x16
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
jmp 0x4d81c5
push ebp
mov al, 5
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4d81f6
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4d81ea
push ebp
mov al, 0x15
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
jmp 0x4d81f6
push ebp
mov al, 4
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x3f], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp al, 0x5d
jne 0x4d8436
push ebp
call fcn.004d7e60
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4d8436
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe0]
cmp byte [esi], 0x2d
jne 0x4d837c
mov eax, esi
inc eax
cmp byte [eax], 0
je 0x4d837c
inc esi
cmp byte [esi], 0x5d
je 0x4d837c
cmp byte [ebp - 0x3f], 0
je 0x4d837c
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx ebx, byte [eax]
cmp bl, 0x5c
jne 0x4d82b6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
inc eax
movzx eax, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x4d828c
and eax, 0x7f
bt dword [0x4d8a7c], eax
jae 0x4d829c
push ebp
mov al, 0x2d
call fcn.004d7c6c
pop ecx
jmp 0x4d8436
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.004d7eb4
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x4d82de
cmp byte [ebp - 0x40], 0xe0
jne 0x4d82de
cmp bl, 0xff
jne 0x4d82de
push ebp
mov eax, 0x4d8a8c
call fcn.004d7e7c
pop ecx
jmp 0x4d836e
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x4d8303
cmp byte [ebp - 0x40], 0xc0
jne 0x4d8303
cmp bl, 0xdf
jne 0x4d8303
push ebp
mov eax, 0x4d8ab8
call fcn.004d7e7c
pop ecx
jmp 0x4d836e
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x4d8334
cmp byte [ebp - 0x40], 0xe0
jne 0x4d8334
cmp bl, 0xdf
jne 0x4d8334
push ebp
mov eax, 0x4d8a8c
call fcn.004d7e7c
pop ecx
push ebp
mov eax, 0x4d8ab8
call fcn.004d7e7c
pop ecx
jmp 0x4d836e
cmp bl, byte [ebp - 0x40]
jae 0x4d834a
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.004d7c6c
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x4d836e
push ebp
movzx eax, byte [ebp - 0x40]
call fcn.004d7c6c
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x4d835b
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4d8436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5c
jne 0x4d841a
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x4d83b6
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
sub al, 0x64
je 0x4d83d0
sub al, 0xf
je 0x4d83f0
sub al, 4
je 0x4d83de
jmp 0x4d8402
push ebp
mov eax, 0x4d8ae4
call fcn.004d7e7c
pop ecx
jmp 0x4d842d
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004d7e7c
pop ecx
jmp 0x4d842d
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004d7e7c
pop ecx
jmp 0x4d842d
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.004d7eb4
pop ecx
call fcn.004d7e60
pop ecx
jmp 0x4d842d
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
call fcn.004d7e60
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
je 0x4d8456
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
jne 0x4d8223
push ebp
xor eax, eax
call fcn.004d7c6c
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x4d847e
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d8a4d
cmp byte [eax], 0x3f
jne 0x4d85b2
inc eax
cmp byte [eax], 0x23
jne 0x4d850e
mov eax, dword [ebp - 4]
add dword [eax + 0xe0], 2
jmp 0x4d84c0
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
test al, al
je 0x4d84d4
cmp al, 0x29
jne 0x4d84b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x4d84f3
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
jmp 0x4d852b
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
test al, al
je 0x4d853f
cmp al, 0x29
jne 0x4d8522
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xe0]
cmp byte [esi], 0x29
jne 0x4d8586
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, ebx
call fcn.00405640
mov eax, dword [ebp - 0x4c]
mov ecx, esi
sub ecx, ebx
mov edx, 1
call fcn.0040596c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004d697c
test al, al
jne 0x4d8597
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
lea ecx, [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004d7180
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d85d2
xor edi, edi
jmp 0x4d8a50
mov eax, dword [ebp - 0x44]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x4d8a4d
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
cmp byte [eax], 0
jne 0x4d861a
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x4d8665
je 0x4d87cc
cmp eax, 0x42
jg 0x4d864e
je 0x4d86a4
add eax, 0xffffffcf
sub eax, 9
jb 0x4d8803
sub eax, 7
je 0x4d86b6
jmp 0x4d8854
sub eax, 0x44
je 0x4d86fc
sub eax, 0xf
je 0x4d8758
jmp 0x4d8854
cmp eax, 0x64
jg 0x4d867b
je 0x4d86da
sub eax, 0x5a
je 0x4d86c8
sub eax, 8
je 0x4d8692
jmp 0x4d8854
sub eax, 0x73
je 0x4d871e
sub eax, 4
je 0x4d8792
jmp 0x4d8854
mov dl, 0x25
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d886a
mov dl, 0x26
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d886a
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d886a
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d886a
mov dl, 0xc
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
mov dl, 0xd
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
push ebp
mov al, 4
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004d7e7c
pop ecx
push ebp
xor eax, eax
call fcn.004d7c6c
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
push ebp
mov al, 5
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004d7e7c
pop ecx
push ebp
xor eax, eax
call fcn.004d7c6c
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
push ebp
mov al, 4
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004d7e7c
pop ecx
push ebp
xor eax, eax
call fcn.004d7c6c
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
push ebp
mov al, 5
call fcn.004d7b70
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004d7e7c
pop ecx
push ebp
xor eax, eax
call fcn.004d7c6c
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4d881e
mov dl, 0x1d
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d882b
mov dl, 0x1c
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx edx, byte [eax]
sub dl, 0x30
mov eax, dword [ebp - 4]
call fcn.004d6e2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x4d886a
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.004d7eb4
pop ecx
call fcn.004d7abc
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x4d8a4d
mov eax, dword [ebp - 4]
dec dword [eax + 0xe0]
mov edx, dword [ebp - 4]
test byte [edx + 0x110], 0x20
je 0x4d893a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp al, 0x23
je 0x4d88b3
add al, 0xf7
sub al, 2
jb 0x4d88b3
sub al, 2
je 0x4d88b3
sub al, 0x13
jne 0x4d893a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x4d890e
jmp 0x4d88cc
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
test al, al
je 0x4d88ef
cmp al, 0xd
je 0x4d88ef
cmp al, 0xa
jne 0x4d88c3
jmp 0x4d88ef
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp al, 0xd
je 0x4d88e6
cmp al, 0xa
je 0x4d88e6
jmp 0x4d8928
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
add al, 0xf7
sub al, 2
jb 0x4d8905
sub al, 2
je 0x4d8905
sub al, 0x13
je 0x4d8905
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a4d
mov edx, str._.____
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
call fcn.004d6eb4
mov ebx, eax
test ebx, ebx
jg 0x4d8982
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x4d8972
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x4d8a50
mov edx, str._.____
mov eax, ebx
inc eax
call fcn.004d6eb4
inc eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
add eax, ebx
movzx eax, byte [eax]
cmp ebx, 1
jle 0x4d89a6
cmp al, 0x2a
je 0x4d89a5
cmp al, 0x2b
je 0x4d89a5
cmp al, 0x3f
je 0x4d89a5
cmp al, 0x7b
jne 0x4d89a6
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x4d89b7
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x4d89d2
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a25
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.004d6df0
mov dword [ebp - 8], eax
jmp 0x4d8a25
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x4d8a07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
add al, 0xf7
sub al, 2
jb 0x4d8a1b
sub al, 2
je 0x4d8a1b
sub al, 0x13
je 0x4d8a1b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx edx, byte [eax]
mov eax, dword [ebp - 4]
call fcn.004d6e2c
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x4d8a43
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x4d89e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x4d89e1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004d6e2c
mov edi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8a72
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0040546c
ret