Function at 0x530fe4
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x530fec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x531b26
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov edx, eax
sub edx, 2
movzx edx, word [edx]
cmp edx, 0x2e
jg 0x531074
je 0x53114d
cmp edx, 0x28
jg 0x53105c
je 0x53153f
sub edx, 1
jb 0x5316ac
sub edx, 0x23
je 0x5310fb
jmp 0x5318fd
sub edx, 0x29
je 0x5316ac
dec edx
sub edx, 2
jb 0x5316bd
jmp 0x5318fd
cmp edx, 0x5c
jg 0x531096
je 0x5316ce
sub edx, 0x3f
je 0x5316bd
sub edx, 0x1c
je 0x531197
jmp 0x5318fd
sub edx, 0x5e
je 0x5310a9
sub edx, 0x1e
je 0x5316ac
jmp 0x5318fd
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x5310d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor edx, edx
call fcn.00407340
jne 0x5310e7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x5310e7
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
mov dx, 0x22
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x531125
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor edx, edx
call fcn.00407340
jne 0x531139
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x531139
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
mov dx, 0x23
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 4
je 0x53117d
mov dx, 3
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x531afb
mov dx, 0x24
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
or dword [eax], 1
jmp 0x531afb
cmp word [eax], 0x5e
jne 0x5311d3
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x5311b9
push ebp
mov ax, 0x16
call fcn.00530df4
pop ecx
mov dword [ebp - 8], eax
jmp 0x5311c7
push ebp
mov ax, 5
call fcn.00530df4
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x5311fd
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x5311ef
push ebp
mov ax, 0x15
call fcn.00530df4
pop ecx
mov dword [ebp - 8], eax
jmp 0x5311fd
push ebp
mov ax, 4
call fcn.00530df4
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x5314d5
push ebp
call fcn.00530e20
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x5314d5
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x2d
jne 0x531411
mov eax, esi
add eax, 2
cmp word [eax], 0
je 0x531411
add esi, 2
cmp word [esi], 0x5d
je 0x531411
cmp byte [ebp - 0x11], 0
je 0x531411
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edi, word [eax]
cmp di, 0x5c
jne 0x5312f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
cmp ax, 0x100
jae 0x5312db
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
add eax, 0xffffffc0
cmp ax, 0x37
ja 0x5312c9
and eax, 0x7f
mov edx, 0x531b38
mov ecx, edx
and ecx, 3
sub edx, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
add eax, ecx
bt dword [edx], eax
jae 0x5312db
push ebp
mov ax, 0x2d
call fcn.00530e08
pop ecx
jmp 0x5314d5
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.00530e78
pop ecx
mov edi, eax
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x531332
cmp word [ebp - 0x14], 0x430
jne 0x531332
cmp di, 0x44f
jne 0x531332
push ebp
lea eax, [ebp - 0x1c]
mov edx, 0x583140
mov ecx, 0x22
call fcn.0040712c
mov eax, dword [ebp - 0x1c]
call fcn.00530e40
pop ecx
jmp 0x531402
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x53136e
cmp word [ebp - 0x14], 0x410
jne 0x53136e
cmp di, 0x42f
jne 0x53136e
push ebp
lea eax, [ebp - 0x20]
mov edx, 0x583184
mov ecx, 0x22
call fcn.0040712c
mov eax, dword [ebp - 0x20]
call fcn.00530e40
pop ecx
jmp 0x531402
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 2
je 0x5313c3
cmp word [ebp - 0x14], 0x430
jne 0x5313c3
cmp di, 0x42f
jne 0x5313c3
push ebp
lea eax, [ebp - 0x24]
mov edx, 0x583140
mov ecx, 0x22
call fcn.0040712c
mov eax, dword [ebp - 0x24]
call fcn.00530e40
pop ecx
push ebp
lea eax, [ebp - 0x28]
mov edx, 0x583184
mov ecx, 0x22
call fcn.0040712c
mov eax, dword [ebp - 0x28]
call fcn.00530e40
pop ecx
jmp 0x531402
cmp di, word [ebp - 0x14]
jae 0x5313da
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
inc word [ebp - 0x14]
push ebp
mov eax, edi
call fcn.00530e08
pop ecx
cmp di, word [ebp - 0x14]
jbe 0x531402
push ebp
movzx eax, word [ebp - 0x14]
call fcn.00530e08
pop ecx
inc word [ebp - 0x14]
cmp di, word [ebp - 0x14]
ja 0x5313ed
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x5314d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5c
jne 0x5314b8
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0
jne 0x53144e
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
sub ax, 0x64
je 0x53146e
sub ax, 0xf
je 0x53148e
sub ax, 4
je 0x53147c
jmp 0x5314a0
push ebp
mov eax, 0x531b44
call fcn.00530e40
pop ecx
jmp 0x5314cb
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
call fcn.00530e40
pop ecx
jmp 0x5314cb
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
call fcn.00530e40
pop ecx
jmp 0x5314cb
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.00530e78
pop ecx
call fcn.00530e20
pop ecx
jmp 0x5314cb
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
call fcn.00530e20
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0
je 0x5314f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
jne 0x53122d
push ebp
xor eax, eax
call fcn.00530e08
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
je 0x531520
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x531afb
cmp word [eax], 0x3f
jne 0x53167c
add eax, 2
cmp word [eax], 0x23
jne 0x5315bd
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 4
jmp 0x531568
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x53157f
cmp ax, 0x29
jne 0x53155e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x29
je 0x53159f
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
jmp 0x5315dc
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x5315f3
cmp ax, 0x29
jne 0x5315d2
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc0]
cmp word [edi], 0x29
jne 0x53164d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, esi
call fcn.004076f0
mov eax, dword [ebp - 0x34]
mov ecx, edi
sub ecx, esi
sar ecx, 1
jns 0x53161e
adc ecx, 0
mov edx, 1
call fcn.00407c6c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.004077a8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0052fbb0
test al, al
jne 0x53165e
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00530350
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x53169c
xor ebx, ebx
jmp 0x531afe
mov eax, dword [ebp - 0x18]
and eax, 5
mov edx, dword [ebp - 0x10]
or dword [edx], eax
jmp 0x531afb
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
cmp word [eax], 0
jne 0x5316e5
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp eax, 0x57
jg 0x531730
je 0x531861
cmp eax, 0x42
jg 0x531719
je 0x531771
add eax, 0xffffffcf
sub eax, 9
jb 0x531882
sub eax, 7
je 0x531785
jmp 0x5318d8
sub eax, 0x44
je 0x5317d1
sub eax, 0xf
je 0x531819
jmp 0x5318d8
cmp eax, 0x64
jg 0x531746
je 0x5317ad
sub eax, 0x5a
je 0x531799
sub eax, 8
je 0x53175d
jmp 0x5318d8
sub eax, 0x73
je 0x5317f5
sub eax, 4
je 0x53183d
jmp 0x5318d8
mov dx, 0x25
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x5318ee
mov dx, 0x26
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x5318ee
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x5318ee
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x5318ee
mov dx, 0xc
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
mov dx, 0xd
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
mov dx, 0x10
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
mov dx, 0x11
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
mov dx, 0xe
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
mov dx, 0xf
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x53189f
mov dx, 0x1d
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x5318ae
mov dx, 0x1c
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
sub dx, 0x30
mov eax, dword [ebp - 4]
call fcn.00530010
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x5318ee
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.00530e78
pop ecx
call fcn.00530d2c
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x531afb
mov eax, dword [ebp - 4]
sub dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x5319d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx esi, word [eax]
cmp si, 0x23
je 0x53193d
mov edx, esi
mov eax, 0x531b5c
call fcn.0052e5b8
test eax, eax
je 0x5319d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x5319a5
jmp 0x531958
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
test ax, ax
je 0x531981
cmp ax, 0xd
je 0x531981
cmp ax, 0xa
jne 0x53194e
jmp 0x531981
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0xd
je 0x531977
cmp ax, 0xa
je 0x531977
jmp 0x5319bf
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x531b5c
call fcn.0052e5b8
test eax, eax
jne 0x53199b
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531afb
mov edx, str._.____
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
call fcn.005300b0
mov esi, eax
test esi, esi
jg 0x531a1e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x7b
je 0x531a0c
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x531afe
mov edx, str._.____
mov eax, esi
add eax, 2
call fcn.005300b0
inc eax
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
mov edx, esi
add edx, edx
add eax, edx
movzx eax, word [eax]
cmp esi, 1
jle 0x531a4e
cmp ax, 0x2a
je 0x531a4d
cmp ax, 0x2b
je 0x531a4d
cmp ax, 0x3f
je 0x531a4d
cmp ax, 0x7b
jne 0x531a4e
dec esi
mov eax, dword [ebp - 0x10]
or dword [eax], 1
cmp esi, 1
jne 0x531a5f
mov eax, dword [ebp - 0x10]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x531a7c
mov dx, 0x14
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531ad2
mov dx, 8
mov eax, dword [ebp - 4]
call fcn.0052ffd0
mov dword [ebp - 8], eax
jmp 0x531ad2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x531ab3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x531b5c
call fcn.0052e5b8
test eax, eax
jne 0x531ac7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, dword [ebp - 4]
call fcn.00530010
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
dec esi
test esi, esi
jle 0x531af1
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x531a8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x531a8d
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00530010
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531b2d
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040752c
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00406f94
ret