Function at 0x84cf88
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x84d9f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 0xc]
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 0x84d019
je 0x84d0f2
cmp edx, 0x28
jg 0x84d001
je 0x84d414
sub edx, 1
jb 0x84d581
sub edx, 0x23
je 0x84d0a0
jmp 0x84d7d2
sub edx, 0x29
je 0x84d581
dec edx
sub edx, 2
jb 0x84d592
jmp 0x84d7d2
cmp edx, 0x5c
jg 0x84d03b
je 0x84d5a3
sub edx, 0x3f
je 0x84d592
sub edx, 0x1c
je 0x84d13c
jmp 0x84d7d2
sub edx, 0x5e
je 0x84d04e
sub edx, 0x1e
je 0x84d581
jmp 0x84d7d2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x84d078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor edx, edx
call fcn.0040b214
jne 0x84d08c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x84d08c
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
mov dx, 0x22
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x10
je 0x84d0ca
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
xor edx, edx
call fcn.0040b214
jne 0x84d0de
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10c], 0
jne 0x84d0de
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
mov dx, 0x23
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 4
je 0x84d122
mov dx, 3
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d9d0
mov dx, 0x24
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x84d9d0
cmp word [eax], 0x5e
jne 0x84d178
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x84d15e
push ebp
mov ax, 0x16
call fcn.0084cd98
pop ecx
mov dword [ebp - 8], eax
jmp 0x84d16c
push ebp
mov ax, 5
call fcn.0084cd98
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x84d1a2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x84d194
push ebp
mov ax, 0x15
call fcn.0084cd98
pop ecx
mov dword [ebp - 8], eax
jmp 0x84d1a2
push ebp
mov ax, 4
call fcn.0084cd98
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp ax, 0x5d
jne 0x84d3aa
push ebp
call fcn.0084cdc4
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x84d3aa
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc0]
cmp word [edi], 0x2d
jne 0x84d2e6
mov eax, edi
add eax, 2
cmp word [eax], 0
je 0x84d2e6
add edi, 2
cmp word [edi], 0x5d
je 0x84d2e6
cmp byte [ebp - 0xd], 0
je 0x84d2e6
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx esi, word [eax]
cmp si, 0x5c
jne 0x84d298
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, word [eax]
cmp ax, 0x100
jae 0x84d27d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
add eax, 2
movzx eax, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x84d26b
and eax, 0x7f
mov edx, 0x84da08
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 0x84d27d
push ebp
mov ax, 0x2d
call fcn.0084cdac
pop ecx
jmp 0x84d3aa
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.0084ce1c
pop ecx
mov esi, eax
cmp si, word [ebp - 0x10]
jae 0x84d2af
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
inc word [ebp - 0x10]
push ebp
mov eax, esi
call fcn.0084cdac
pop ecx
cmp si, word [ebp - 0x10]
jbe 0x84d2d7
push ebp
movzx eax, word [ebp - 0x10]
call fcn.0084cdac
pop ecx
inc word [ebp - 0x10]
cmp si, word [ebp - 0x10]
ja 0x84d2c2
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x84d3aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5c
jne 0x84d38d
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 0x84d323
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
sub ax, 0x64
je 0x84d343
sub ax, 0xf
je 0x84d363
sub ax, 4
je 0x84d351
jmp 0x84d375
push ebp
mov eax, 0x84da14
call fcn.0084cde4
pop ecx
jmp 0x84d3a0
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
call fcn.0084cde4
pop ecx
jmp 0x84d3a0
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
call fcn.0084cde4
pop ecx
jmp 0x84d3a0
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.0084ce1c
pop ecx
call fcn.0084cdc4
pop ecx
jmp 0x84d3a0
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
call fcn.0084cdc4
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 0x84d3cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
jne 0x84d1d2
push ebp
xor eax, eax
call fcn.0084cdac
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x5d
je 0x84d3f5
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
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 0x84d9d0
cmp word [eax], 0x3f
jne 0x84d551
add eax, 2
cmp word [eax], 0x23
jne 0x84d492
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 4
jmp 0x84d43d
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 0x84d454
cmp ax, 0x29
jne 0x84d433
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x29
je 0x84d474
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
jmp 0x84d4b1
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 0x84d4c8
cmp ax, 0x29
jne 0x84d4a7
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc0]
cmp word [edi], 0x29
jne 0x84d522
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0040b408
mov eax, dword [ebp - 0x20]
mov ecx, edi
sub ecx, esi
sar ecx, 1
jns 0x84d4f3
adc ecx, 0
mov edx, 1
call fcn.0040b7dc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.0040b4ac
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0084bb40
test al, al
jne 0x84d533
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0084c2e8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x84d571
xor ebx, ebx
jmp 0x84d9d3
mov eax, dword [ebp - 0x14]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x84d9d0
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
cmp word [eax], 0
jne 0x84d5ba
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx eax, word [eax]
cmp eax, 0x57
jg 0x84d605
je 0x84d736
cmp eax, 0x42
jg 0x84d5ee
je 0x84d646
add eax, 0xffffffcf
sub eax, 9
jb 0x84d757
sub eax, 7
je 0x84d65a
jmp 0x84d7ad
sub eax, 0x44
je 0x84d6a6
sub eax, 0xf
je 0x84d6ee
jmp 0x84d7ad
cmp eax, 0x64
jg 0x84d61b
je 0x84d682
sub eax, 0x5a
je 0x84d66e
sub eax, 8
je 0x84d632
jmp 0x84d7ad
sub eax, 0x73
je 0x84d6ca
sub eax, 4
je 0x84d712
jmp 0x84d7ad
mov dx, 0x25
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d7c3
mov dx, 0x26
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d7c3
mov dx, 1
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d7c3
mov dx, 2
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d7c3
mov dx, 0xc
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d7c3
mov dx, 0xd
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d7c3
mov dx, 0x10
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d7c3
mov dx, 0x11
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d7c3
mov dx, 0xe
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d7c3
mov dx, 0xf
mov eax, dword [ebp - 4]
call fcn.0084bf68
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 0x84d7c3
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x84d774
mov dx, 0x1d
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d783
mov dx, 0x1c
mov eax, dword [ebp - 4]
call fcn.0084bf68
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.0084bfa8
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 0x84d7c3
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xc0
call fcn.0084ce1c
pop ecx
call fcn.0084ccd0
pop ecx
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
jmp 0x84d9d0
mov eax, dword [ebp - 4]
sub dword [eax + 0xc0], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x84d8a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx esi, word [eax]
cmp si, 0x23
je 0x84d812
mov edx, esi
mov eax, 0x84da2c
call fcn.0084a59c
test eax, eax
je 0x84d8a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x84d87a
jmp 0x84d82d
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 0x84d856
cmp ax, 0xd
je 0x84d856
cmp ax, 0xa
jne 0x84d823
jmp 0x84d856
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 0x84d84c
cmp ax, 0xa
je 0x84d84c
jmp 0x84d894
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, 0x84da2c
call fcn.0084a59c
test eax, eax
jne 0x84d870
mov dx, 0x13
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9d0
mov edx, str._.____
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
call fcn.0084c048
mov esi, eax
test esi, esi
jg 0x84d8f3
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xc0]
cmp word [esi], 0x7b
je 0x84d8e1
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x84d9d3
mov edx, str._.____
mov eax, esi
add eax, 2
call fcn.0084c048
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 0x84d923
cmp ax, 0x2a
je 0x84d922
cmp ax, 0x2b
je 0x84d922
cmp ax, 0x3f
je 0x84d922
cmp ax, 0x7b
jne 0x84d923
dec esi
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp esi, 1
jne 0x84d934
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 1
je 0x84d951
mov dx, 0x14
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9a7
mov dx, 8
mov eax, dword [ebp - 4]
call fcn.0084bf68
mov dword [ebp - 8], eax
jmp 0x84d9a7
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x84d988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, 0x84da2c
call fcn.0084a59c
test eax, eax
jne 0x84d99c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
movzx edx, word [eax]
mov eax, dword [ebp - 4]
call fcn.0084bfa8
mov eax, dword [ebp - 4]
add dword [eax + 0xc0], 2
dec esi
test esi, esi
jle 0x84d9c6
mov eax, dword [ebp - 4]
test byte [eax + 0xf0], 0x20
je 0x84d962
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
cmp word [eax], 0x23
jne 0x84d962
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0084bfa8
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x84d9fd
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040a338
lea eax, [ebp - 0x18]
call fcn.0040a320
ret