Function at 0x554280
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x554288
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x554dcd
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, eax
sub edx, 2
movzx edx, word [edx]
cmp edx, 0x2e
jg 0x554315
je 0x5543ee
cmp edx, 0x28
jg 0x5542fd
je 0x5547e4
sub edx, 1
jb 0x554951
sub edx, 0x23
je 0x55439c
jmp 0x554ba4
sub edx, 0x29
je 0x554951
dec edx
sub edx, 2
jb 0x554962
jmp 0x554ba4
cmp edx, 0x5c
jg 0x554337
je 0x554973
sub edx, 0x3f
je 0x554962
sub edx, 0x1c
je 0x554438
jmp 0x554ba4
sub edx, 0x5e
je 0x55434a
sub edx, 0x1e
je 0x554951
jmp 0x554ba4
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 0x10
je 0x554374
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor edx, edx
call sub.rtl140.bpl__System__WStrEqual_qqrv
jne 0x554388
mov eax, dword [ebp - 4]
cmp byte [eax + 0x36c], 0
jne 0x554388
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
mov dx, 0x22
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 0x10
je 0x5543c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor edx, edx
call sub.rtl140.bpl__System__WStrEqual_qqrv
jne 0x5543da
mov eax, dword [ebp - 4]
cmp byte [eax + 0x36c], 0
jne 0x5543da
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
mov dx, 0x23
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 4
je 0x55441e
mov dx, 3
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554da2
mov dx, 0x24
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
or dword [eax], 1
jmp 0x554da2
cmp word [eax], 0x5e
jne 0x554474
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 1
je 0x55445a
push ebp
mov ax, 0x16
call fcn.00554200
pop ecx
mov dword [ebp - 8], eax
jmp 0x554468
push ebp
mov ax, 5
call fcn.00554200
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
jmp 0x55449e
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 1
je 0x554490
push ebp
mov ax, 0x15
call fcn.00554200
pop ecx
mov dword [ebp - 8], eax
jmp 0x55449e
push ebp
mov ax, 4
call fcn.00554200
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x55477a
push ebp
call fcn.0055422c
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
jmp 0x55477a
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x31c]
cmp word [esi], 0x2d
jne 0x5546b4
mov eax, esi
add eax, 2
cmp word [eax], 0
je 0x5546b4
add esi, 2
cmp word [esi], 0x5d
je 0x5546b4
cmp byte [ebp - 0x11], 0
je 0x5546b4
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx edi, word [eax]
cmp di, 0x5c
jne 0x554599
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
add eax, 2
movzx eax, word [eax]
cmp ax, 0x100
jae 0x55457c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
add eax, 2
movzx eax, word [eax]
add eax, 0xffffffc0
cmp ax, 0x37
ja 0x55456a
and eax, 0x7f
mov edx, 0x554de0
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 0x55457c
push ebp
mov ax, 0x2d
call fcn.00554214
pop ecx
jmp 0x55477a
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
lea edx, [eax + 0x31c]
mov eax, dword [ebp - 4]
call fcn.0055403c
mov edi, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 2
je 0x5545d5
cmp word [ebp - 0x14], 0x430
jne 0x5545d5
cmp di, 0x44f
jne 0x5545d5
push ebp
lea eax, [ebp - 0x1c]
mov edx, 0x9dc72c
mov ecx, 0x22
call sub.rtl140.bpl__System__WStrFromWArray_qqrr17System_WideStringpbi
mov eax, dword [ebp - 0x1c]
call fcn.0055424c
pop ecx
jmp 0x5546a5
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 2
je 0x554611
cmp word [ebp - 0x14], 0x410
jne 0x554611
cmp di, 0x42f
jne 0x554611
push ebp
lea eax, [ebp - 0x20]
mov edx, 0x9dc770
mov ecx, 0x22
call sub.rtl140.bpl__System__WStrFromWArray_qqrr17System_WideStringpbi
mov eax, dword [ebp - 0x20]
call fcn.0055424c
pop ecx
jmp 0x5546a5
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 2
je 0x554666
cmp word [ebp - 0x14], 0x430
jne 0x554666
cmp di, 0x42f
jne 0x554666
push ebp
lea eax, [ebp - 0x24]
mov edx, 0x9dc72c
mov ecx, 0x22
call sub.rtl140.bpl__System__WStrFromWArray_qqrr17System_WideStringpbi
mov eax, dword [ebp - 0x24]
call fcn.0055424c
pop ecx
push ebp
lea eax, [ebp - 0x28]
mov edx, 0x9dc770
mov ecx, 0x22
call sub.rtl140.bpl__System__WStrFromWArray_qqrr17System_WideStringpbi
mov eax, dword [ebp - 0x28]
call fcn.0055424c
pop ecx
jmp 0x5546a5
cmp di, word [ebp - 0x14]
jae 0x55467d
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
inc word [ebp - 0x14]
push ebp
mov eax, edi
call fcn.00554214
pop ecx
cmp di, word [ebp - 0x14]
jbe 0x5546a5
push ebp
movzx eax, word [ebp - 0x14]
call fcn.00554214
pop ecx
inc word [ebp - 0x14]
cmp di, word [ebp - 0x14]
ja 0x554690
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
jmp 0x55477a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0x5c
jne 0x55475d
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0
jne 0x5546f1
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
sub ax, 0x64
je 0x554711
sub ax, 0xf
je 0x554731
sub ax, 4
je 0x55471f
jmp 0x554743
push ebp
mov eax, 0x554dec
call fcn.0055424c
pop ecx
jmp 0x554770
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.0055424c
pop ecx
jmp 0x554770
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
call fcn.0055424c
pop ecx
jmp 0x554770
push ebp
mov eax, dword [ebp - 4]
lea edx, [eax + 0x31c]
mov eax, dword [ebp - 4]
call fcn.0055403c
call fcn.0055422c
pop ecx
jmp 0x554770
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
call fcn.0055422c
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0
je 0x55479c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0x5d
jne 0x5544ce
push ebp
xor eax, eax
call fcn.00554214
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0x5d
je 0x5547c5
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 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 0x554da2
cmp word [eax], 0x3f
jne 0x554921
add eax, 2
cmp word [eax], 0x23
jne 0x554862
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 4
jmp 0x55480d
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
test ax, ax
je 0x554824
cmp ax, 0x29
jne 0x554803
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0x29
je 0x554844
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x31c]
jmp 0x554881
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
test ax, ax
je 0x554898
cmp ax, 0x29
jne 0x554877
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x31c]
cmp word [edi], 0x29
jne 0x5548f2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, esi
call sub.rtl140.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
mov eax, dword [ebp - 0x34]
mov ecx, edi
sub ecx, esi
sar ecx, 1
jns 0x5548c3
adc ecx, 0
mov edx, 1
call sub.rtl140.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call sub.rtl140.bpl__System__WStrFromUStr_qqrr17System_WideStringx20System_UnicodeString
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x34c]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00552ce4
test al, al
jne 0x554903
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.005535e4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x554941
xor ebx, ebx
jmp 0x554da5
mov eax, dword [ebp - 0x18]
and eax, 5
mov edx, dword [ebp - 0x10]
or dword [edx], eax
jmp 0x554da2
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
cmp word [eax], 0
jne 0x55498a
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
cmp eax, 0x57
jg 0x5549d5
je 0x554b06
cmp eax, 0x42
jg 0x5549be
je 0x554a16
add eax, 0xffffffcf
sub eax, 9
jb 0x554b27
sub eax, 7
je 0x554a2a
jmp 0x554b7d
sub eax, 0x44
je 0x554a76
sub eax, 0xf
je 0x554abe
jmp 0x554b7d
cmp eax, 0x64
jg 0x5549eb
je 0x554a52
sub eax, 0x5a
je 0x554a3e
sub eax, 8
je 0x554a02
jmp 0x554b7d
sub eax, 0x73
je 0x554a9a
sub eax, 4
je 0x554ae2
jmp 0x554b7d
mov dx, 0x25
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554b95
mov dx, 0x26
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554b95
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554b95
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554b95
mov dx, 0xc
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554b95
mov dx, 0xd
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554b95
mov dx, 0x10
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554b95
mov dx, 0x11
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554b95
mov dx, 0xe
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554b95
mov dx, 0xf
mov eax, dword [ebp - 4]
call fcn.005531e4
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 0x554b95
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 1
je 0x554b44
mov dx, 0x1d
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554b53
mov dx, 0x1c
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx edx, word [eax]
sub dx, 0x30
mov eax, dword [ebp - 4]
call fcn.00553228
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 0x554b95
push ebp
mov eax, dword [ebp - 4]
lea edx, [eax + 0x31c]
mov eax, dword [ebp - 4]
call fcn.0055403c
call fcn.0055418c
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
jmp 0x554da2
mov eax, dword [ebp - 4]
sub dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 0x20
je 0x554c7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx esi, word [eax]
cmp si, 0x23
je 0x554be4
mov edx, esi
mov eax, 0x554e04
call sub.rtl140.bpl__Sysutils_StrScan_qqrpxbb
test eax, eax
je 0x554c7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0x23
jne 0x554c4c
jmp 0x554bff
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
test ax, ax
je 0x554c28
cmp ax, 0xd
je 0x554c28
cmp ax, 0xa
jne 0x554bf5
jmp 0x554c28
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx eax, word [eax]
cmp ax, 0xd
je 0x554c1e
cmp ax, 0xa
je 0x554c1e
jmp 0x554c66
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx edx, word [eax]
mov eax, 0x554e04
call sub.rtl140.bpl__Sysutils_StrScan_qqrpxbb
test eax, eax
jne 0x554c42
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554da2
mov edx, str._.____
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.005532c8
mov esi, eax
test esi, esi
jg 0x554cc5
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x31c]
cmp word [esi], 0x7b
je 0x554cb3
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x554da5
mov edx, str._.____
mov eax, esi
add eax, 2
call fcn.005532c8
inc eax
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, esi
add edx, edx
add eax, edx
movzx eax, word [eax]
cmp esi, 1
jle 0x554cf5
cmp ax, 0x2a
je 0x554cf4
cmp ax, 0x2b
je 0x554cf4
cmp ax, 0x3f
je 0x554cf4
cmp ax, 0x7b
jne 0x554cf5
dec esi
mov eax, dword [ebp - 0x10]
or dword [eax], 1
cmp esi, 1
jne 0x554d06
mov eax, dword [ebp - 0x10]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 1
je 0x554d23
mov dx, 0x14
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554d79
mov dx, 8
mov eax, dword [ebp - 4]
call fcn.005531e4
mov dword [ebp - 8], eax
jmp 0x554d79
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 0x20
je 0x554d5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx edx, word [eax]
mov eax, 0x554e04
call sub.rtl140.bpl__Sysutils_StrScan_qqrpxbb
test eax, eax
jne 0x554d6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
movzx edx, word [eax]
mov eax, dword [ebp - 4]
call fcn.00553228
mov eax, dword [ebp - 4]
add dword [eax + 0x31c], 2
dec esi
test esi, esi
jle 0x554d98
mov eax, dword [ebp - 4]
test byte [eax + 0x34c], 0x20
je 0x554d34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp word [eax], 0x23
jne 0x554d34
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00553228
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x554dd4
lea eax, [ebp - 0x34]
mov edx, 2
call sub.rtl140.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x2c]
mov edx, 5
call sub.rtl140.bpl__System__WStrArrayClr_qqrpvi
ret