Function at 0xd6971b
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
call fcn.00cf5321
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
and eax, 0x40
test eax, eax
jne 0xd6975b
mov eax, dword [0xcc1e2c]
test eax, eax
je 0xd69d03
cmp dword [ebp - 0x4c], 4
jle 0xd69d03
sub esp, 4
push 5
push 0xcd424c
push dword [ebp + 0xc]
call fcn.00ed1930
add esp, 0x10
test eax, eax
jne 0xd69d03
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x4c]
add eax, 2
mov dword [ebp - 0x30], eax
or dword [ebp - 0x10], 0x40
mov dword [ebp - 0x28], 0
jmp 0xd697b9
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x26
sete al
movzx eax, al
add dword [ebp - 0x30], eax
add dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x4c]
jl 0xd6979f
sub esp, 0xc
push dword [ebp - 0x30]
call fcn.00cf2049
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0xd697e2
mov eax, 7
jmp 0xd69dc7
mov dword [ebp - 0x28], 5
mov eax, dword [ebp + 0xc]
add eax, 5
movzx eax, byte [eax]
cmp al, 0x2f
jne 0xd69890
mov eax, dword [ebp + 0xc]
add eax, 6
movzx eax, byte [eax]
cmp al, 0x2f
jne 0xd69890
mov dword [ebp - 0x28], 7
jmp 0xd69818
add dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0xd69836
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
jne 0xd69814
cmp dword [ebp - 0x28], 7
je 0xd69890
cmp dword [ebp - 0x28], 0x10
jne 0xd6985f
mov eax, dword [ebp + 0xc]
add eax, 7
sub esp, 4
push 9
push eax
push 0xcd4252
call fcn.00ed1930
add esp, 0x10
test eax, eax
je 0xd69890
mov eax, dword [ebp + 0xc]
lea edx, [eax + 7]
mov eax, dword [ebp - 0x28]
sub eax, 7
sub esp, 4
push edx
push eax
push 0xcd425c
call fcn.00cf442d
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [ebp - 0xc], 1
jmp 0xd69d99
mov dword [ebp - 0x24], 0
jmp 0xd69a7f
add dword [ebp - 0x28], 1
cmp byte [ebp - 0x19], 0x25
jne 0xd699ba
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
movzx eax, byte [eax + 0xccc160]
movzx eax, al
and eax, 8
test eax, eax
je 0xd699ba
mov eax, dword [ebp - 0x28]
lea edx, [eax + 1]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
movzx eax, byte [eax + 0xccc160]
movzx eax, al
and eax, 8
test eax, eax
je 0xd699ba
mov eax, dword [ebp - 0x28]
lea edx, [eax + 1]
mov dword [ebp - 0x28], edx
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
movsx eax, al
sub esp, 0xc
push eax
call fcn.00cf6775
add esp, 0x10
movzx eax, al
shl eax, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
lea edx, [eax + 1]
mov dword [ebp - 0x28], edx
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
movsx eax, al
sub esp, 0xc
push eax
call fcn.00cf6775
add esp, 0x10
movzx eax, al
add dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0xd699af
jmp 0xd69952
add dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0xd69a7f
cmp byte [ebp - 0x19], 0x23
je 0xd69a7f
cmp dword [ebp - 0x24], 0
jne 0xd69984
cmp byte [ebp - 0x19], 0x3f
je 0xd69a7f
cmp dword [ebp - 0x24], 1
jne 0xd6999e
cmp byte [ebp - 0x19], 0x3d
je 0xd69a7f
cmp byte [ebp - 0x19], 0x26
je 0xd69a7f
cmp dword [ebp - 0x24], 2
jne 0xd6994e
cmp byte [ebp - 0x19], 0x26
jne 0xd6994e
jmp 0xd69a7f
mov eax, dword [ebp - 0x50]
mov byte [ebp - 0x19], al
jmp 0xd69a69
cmp dword [ebp - 0x24], 1
jne 0xd69a46
cmp byte [ebp - 0x19], 0x26
je 0xd699d0
cmp byte [ebp - 0x19], 0x3d
jne 0xd69a46
mov eax, dword [ebp - 0x2c]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x18]
add eax, edx
movzx eax, byte [eax]
test al, al
jne 0xd69a1e
jmp 0xd699e8
add dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0xd69a7f
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x23
je 0xd69a7f
mov eax, dword [ebp - 0x28]
lea edx, [eax - 1]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x26
jne 0xd699e4
jmp 0xd69a7f
cmp byte [ebp - 0x19], 0x26
jne 0xd69a39
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
jmp 0xd69a40
mov dword [ebp - 0x24], 2
mov byte [ebp - 0x19], 0
jmp 0xd69a69
cmp dword [ebp - 0x24], 0
jne 0xd69a52
cmp byte [ebp - 0x19], 0x3f
je 0xd69a5e
cmp dword [ebp - 0x24], 2
jne 0xd69a69
cmp byte [ebp - 0x19], 0x26
jne 0xd69a69
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add edx, eax
movzx eax, byte [ebp - 0x19]
mov byte [edx], al
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0xd69a9d
cmp byte [ebp - 0x19], 0x23
jne 0xd6989c
cmp dword [ebp - 0x24], 1
jne 0xd69ab6
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], edx
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
sub esp, 0xc
push dword [ebp - 0x18]
call fcn.00cf5321
add esp, 0x10
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0xd69cf3
sub esp, 0xc
push dword [ebp - 0x20]
call fcn.00cf5321
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x58], eax
sub esp, 0xc
push dword [ebp - 0x58]
call fcn.00cf5321
add esp, 0x10
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 3
jne 0xd69b54
sub esp, 4
push 3
push dword [ebp - 0x20]
push 0xcd4278
call fcn.00ed1930
add esp, 0x10
test eax, eax
jne 0xd69b54
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
jmp 0xd69ce5
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x54], 5
jne 0xd69baa
sub esp, 4
push 5
push dword [ebp - 0x20]
push 0xcd427c
call fcn.00ed1930
add esp, 0x10
test eax, eax
jne 0xd69baa
mov dword [ebp - 0x3c], 0x60000
mov dword [ebp - 0x34], 0xcc2e2c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0xcd427c
cmp dword [ebp - 0x54], 4
jne 0xd69be7
sub esp, 4
push 4
push dword [ebp - 0x20]
push 0xcd4282
call fcn.00ed1930
add esp, 0x10
test eax, eax
jne 0xd69be7
mov dword [ebp - 0x3c], 0x87
mov dword [ebp - 0x34], 0xcc2e60
mov eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 0xcd4287
cmp dword [ebp - 0x34], 0
je 0xd69ce5
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
jmp 0xd69c5c
mov eax, dword [ebp - 0x44]
lea edx, [eax*8]
mov eax, dword [ebp - 0x34]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
sub esp, 0xc
push dword [ebp - 0x60]
call fcn.00cf5321
add esp, 0x10
cmp eax, dword [ebp - 0x5c]
jne 0xd69c58
mov eax, dword [ebp - 0x5c]
sub esp, 4
push eax
push dword [ebp - 0x60]
push dword [ebp - 0x58]
call fcn.00ed1930
add esp, 0x10
test eax, eax
jne 0xd69c58
mov eax, dword [ebp - 0x44]
lea edx, [eax*8]
mov eax, dword [ebp - 0x34]
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
jmp 0xd69c71
add dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
lea edx, [eax*8]
mov eax, dword [ebp - 0x34]
add eax, edx
mov eax, dword [eax]
test eax, eax
jne 0xd69c01
cmp dword [ebp - 0x48], 0
jne 0xd69ca0
sub esp, 4
push dword [ebp - 0x58]
push dword [ebp - 0x38]
push 0xcd428e
call fcn.00cf442d
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [ebp - 0xc], 1
jmp 0xd69d99
mov eax, dword [ebp - 0x48]
and al, 0x7f
cmp eax, dword [ebp - 0x40]
jle 0xd69cd3
sub esp, 4
push dword [ebp - 0x58]
push dword [ebp - 0x38]
push 0xcd42a2
call fcn.00cf442d
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [ebp - 0xc], 3
jmp 0xd69d99
mov eax, dword [ebp - 0x3c]
not eax
and eax, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [ebp - 0x48]
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x58]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test al, al
jne 0xd69afa
jmp 0xd69d5a
mov eax, dword [ebp - 0x4c]
add eax, 2
sub esp, 0xc
push eax
call fcn.00cf2049
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0xd69d28
mov eax, 7
jmp 0xd69dc7
mov eax, dword [ebp - 0x4c]
sub esp, 4
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call fcn.00ed1928
add esp, 0x10
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x4c]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
add eax, edx
mov byte [eax], 0
and dword [ebp - 0x10], 0xffffffbf
sub esp, 0xc
push dword [ebp - 0x14]
call fcn.00cf1330
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
test eax, eax
jne 0xd69d99
sub esp, 8
push dword [ebp - 0x14]
push 0xcd42ba
call fcn.00cf442d
add esp, 0x10
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edx
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0xd69db4
sub esp, 0xc
push dword [ebp - 0x18]
call fcn.00cf2302
add esp, 0x10
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
leave
ret