Function at 0x402880
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
mov eax, 0x65
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
seto cl
push esi
push edi
mov dword [ebp - 0x20], ebx
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
add esp, 4
xor ecx, ecx
push 4
mov dword [ebp - 0x24], eax
mov word [eax], cx
call fcn.004115d7
add esp, 4
test eax, eax
je 0x427d2c
mov dword [eax], 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], ebx
jbe 0x40290f
pop edx
or byte [esi + 0x2e], dh
xor edi, edi
mov eax, edx
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x402909
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x4029d2
push esi
call fcn.004111dc
mov eax, dword [ebp + 0x10]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x4028e5
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ebx
cmp word [eax], bx
je 0x402aff
mov ecx, dword [ebp + 0xc]
jmp 0x402930
movzx eax, word [ecx + ebx*2]
cmp eax, 0x20
je 0x402a27
cmp eax, 9
je 0x402a27
movzx eax, word [ecx + ebx*2]
test ax, ax
je 0x402aeb
mov esi, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0xa], bx
cmp esi, 0x30
jae 0x402a2d
cmp esi, 0x2e
je 0x402a36
cmp esi, 0x41
jae 0x402bad
cmp esi, 0x61
jae 0x402e22
cmp esi, 0x5f
je 0x402bb6
mov eax, esi
cmp eax, 0x24
je 0x402b45
cmp eax, 0x3d
je 0x402be7
cmp eax, 0x28
je 0x402c25
cmp eax, 0x29
je 0x402c08
cmp eax, 0x22
je case.0x4029cb.39
sub eax, 0x1a
cmp eax, 0x44
ja case.0x4029cb.27
movzx eax, byte [eax + 0x402eb8]
jmp dword [eax*4 + 0x402e7c]
cmp ax, 0x30
jl 0x4028fd
mov ecx, dword [esi]
test ecx, ecx
je 0x4028fd
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
cmp dword [edx], ebx
je 0x427d34
mov ecx, dword [ebp - 8]
push ecx
call fcn.004111dc
add esp, 4
jmp 0x4028fd
mov edi, 0x40
lea esi, [ebp - 0x14]
call fcn.00402710
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402780
inc ebx
jmp 0x402add
inc ebx
jmp 0x402930
cmp esi, 0x39
ja 0x402965
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
call fcn.004031b0
cmp al, 1
jne 0x427d56
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00402780
mov ebx, dword [ebp - 8]
jmp 0x402add
cmp di, 0x30
jae 0x402cfe
cmp di, 0x5f
je 0x402b78
test esi, esi
je 0x428000
lea eax, [ebp - 0x24]
call fcn.004026f0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push esi
push edi
call dword [0x482644]
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jge 0x402d58
mov eax, 0x33
push 0x10
mov word [ebp - 0xc], ax
call fcn.004115d7
add esp, 4
test eax, eax
je 0x427f2c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
inc dword [ecx]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00402780
mov eax, dword [ebp + 0xc]
cmp word [eax + ebx*2], 0
jne 0x402921
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jl 0x402aff
cmp ax, 0x3f
jle 0x402d2e
mov edi, dword [ebp + 0x10]
mov ecx, 0x7f
lea eax, [ebp - 0x14]
mov word [ebp - 0xc], cx
mov dword [ebp - 0x14], 0
mov word [ebp - 0xa], bx
call fcn.00402780
mov esi, dword [ebp - 0x18]
dec dword [esi]
jne 0x402b3a
mov edx, dword [ebp - 0x24]
push edx
call fcn.004111dc
add esp, 4
push esi
call fcn.004111dc
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea esi, [ebp - 0x24]
inc ebx
call fcn.00403350
mov eax, dword [ebp + 0xc]
movzx edi, word [eax + ebx*2]
mov esi, dword [ebp - 0x20]
cmp di, 0x5a
ja 0x402b64
cmp di, 0x41
jae 0x402b78
cmp di, 0x61
jb 0x402a61
cmp di, 0x7a
ja 0x402a61
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jg 0x427ec4
lea eax, [esi + 1]
lea esi, [ebp - 0x24]
call fcn.00402f00
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
mov word [eax + esi*2], di
inc esi
xor ecx, ecx
inc ebx
mov word [eax + esi*2], cx
movzx edi, word [edx + ebx*2]
mov dword [ebp - 0x20], esi
jmp 0x402b58
cmp esi, 0x5a
ja 0x402977
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 8]
call fcn.00403060
cmp dword [ebp - 0x14], 0xffffffff
je 0x427f63
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00402780
mov ebx, dword [ebp - 8]
jmp 0x402add
mov edx, dword [ebp + 0xc]
inc ebx
cmp word [edx + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x427eb4
mov edi, 0x41
call fcn.00402710
jmp 0x402ad2
mov edi, 0x48
lea esi, [ebp - 0x14]
call fcn.00402710
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402780
inc ebx
jmp 0x402add
mov edi, 0x47
lea esi, [ebp - 0x14]
call fcn.00402710
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402780
inc ebx
jmp 0x402add
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x24]
lea edi, [ebp - 8]
call fcn.00402f80
lea esi, [ebp - 0x14]
test eax, eax
jne 0x427fa5
lea edi, [eax + 0x36]
call fcn.00402710
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00402280
mov eax, edi
mov edi, dword [ebp + 0x10]
call fcn.00402780
mov ebx, dword [ebp - 8]
jmp 0x402add
mov edi, 0x4d
lea esi, [ebp - 0x14]
call fcn.00402710
mov ecx, dword [ebp + 0xc]
inc ebx
cmp word [ecx + ebx*2], 0x3d
jne 0x402ad2
mov edi, 0x56
inc ebx
call fcn.00402710
jmp 0x402ad2
mov edi, 0x49
lea esi, [ebp - 0x14]
call fcn.00402710
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
jne 0x402ad2
mov edi, 0x52
inc ebx
call fcn.00402710
jmp 0x402ad2
mov edi, 0x4c
lea esi, [ebp - 0x14]
call fcn.00402710
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
jne 0x402ad2
jmp 0x427e43
cmp di, 0x39
jbe 0x402b78
jmp 0x402a6b
mov edi, 0x4b
lea esi, [ebp - 0x14]
call fcn.00402710
mov edx, dword [ebp + 0xc]
inc ebx
cmp word [edx + ebx*2], 0x3d
jne 0x402ad2
jmp 0x427e13
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x402aff
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
je 0x42802b
push esi
call fcn.004111dc
add esp, 4
jmp 0x402aff
cmp ax, 0x3f
jg 0x402aa1
jmp 0x427f16
mov edi, 0x4e
lea esi, [ebp - 0x14]
call fcn.00402710
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402780
inc ebx
jmp 0x402add
mov edi, 0x4f
lea esi, [ebp - 0x14]
call fcn.00402710
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402780
inc ebx
jmp 0x402add
lea esi, [ebp - 0x24]
inc ebx
call fcn.00403350
mov esi, dword [ebp + 0xc]
movzx eax, word [esi + ebx*2]
cmp ax, 0x5a
ja 0x402dbd
cmp ax, 0x41
jae 0x402dc9
cmp ax, 0x61
jb 0x402dd5
cmp ax, 0x7a
ja 0x402dd5
push eax
lea eax, [ebp - 0x24]
call fcn.00403020
inc ebx
jmp 0x402dad
cmp ax, 0x30
jae 0x427dd8
cmp ax, 0x5f
je 0x402dc9
cmp dword [ebp - 0x20], 0
je 0x427f90
lea eax, [ebp - 0x24]
call fcn.004026f0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call dword [0x482644]
mov edi, 0x32
lea esi, [ebp - 0x14]
call fcn.00402710
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00402280
jmp 0x402ad2
cmp esi, 0x7a
jbe 0x402bb6
jmp 0x402980
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ebx*2 + 2]
inc ebx
sub eax, 0x3d
lea esi, [ebp - 0x14]
je 0x427e66
dec eax
je 0x427e56
mov edi, 0x43
call fcn.00402710
jmp 0x402ad2
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x427e76
mov edi, 0x42
call fcn.00402710
jmp 0x402ad2
push cs
add ecx, dword [ebx - 0x17a276fd]
jmp 0x4028dd
movsd dword es:[edi], dword [esi]
stosd dword es:[edi], eax
std
dec dword [eax]
mov edx, dword [ecx + 8]
push eax
add dword [eax], eax
mov edx, dword [ebx + 0xc]
push edx
call 0x424ace9d
push eax
call fcn.004111dc
add esp, 4
push esi
call 0xf62b832f
cmc
sbb eax, 0x104d010a
std
mov eax, 0x850f2efe
or al, 0xac
std
inc ebx
call fcn.00403350
mov esi, dword [ebp + 0xc]
movzx eax, word [esi + ebx*2]
cmp ax, 0x5a
ja 0x427d7e
inc cx
jb 0x3e3b008a
clc
cmp eax, 0x5a470174
je 0x427d83
inc edi
pop edx
jbe 0x3e3b00d0
je 0x427d8d
inc edi
popal
jb 0x3e3b009e
je 0x427d97
inc edi
jp 0x427da8
xchg byte [edx], dh
cmp eax, 0x3d
je 0x427da1
inc edi
xor byte [edi], cl
or byte [edx], 0x83
clc
cmp eax, 0x39470174
jbe 0x3e3b00d0
je 0x427dab
inc edi
cmp dword [edi], ecx
xchg byte [esi], bl
cmp eax, 0x3d
je 0x427db5
inc edi
pop edi
je 0x8c880ad0
je 0x8444cf63
jbe 0x427e38
xor ecx, dword [ebx + 0x40a100bf]
or eax, 0x67406e9
sub eax, 0x4b
mov dl, 0xfd
inc dword [ebx - 0x15]
fsub dword [esi - 0x7d]
clc
xchg esi, eax
cmp ax, 0xff96
je 0x427ddf
inc edi
cmp dword [edi], ecx
xchg bh, ah
scasd eax, dword es:[edi]
std
test ecx, ebp
invalid
mov edi, 0x1b0c0053
add byte [eax], al
jmp 0x1427c34
into
push ds
cmp eax, 0xffffffbf
push esp
jne 0x427e07
in al, dx
call fcn.00402710
add cl, ch
and esi, edi
inc dword [eax]
into
push ds
cmp eax, 0xffffffbf
push ecx
jne 0x427e1a
call fcn.00402710
mov edi, dword [ebp + 0x10]
mov eax, esi
invalid
call fcn.00402780
inc ebx
jmp 0x1427b7f
fstp dword [esi]
cmp eax, 0xffffffbf
push ebp
jne 0x427e37
call fcn.00402710
add cl, ch
and esi, edi
inc dword [eax]
into
push ds
cmp eax, 0xffffffbf
inc esp
adc eax, 0x8b003284
inc ebp
or al, 0x43
inc ebx
dec esi
into
push ds
cmp eax, 0xffffffbf
inc esi
adc eax, 0x8b003284
inc ebp
or al, 0x43
inc ebx
dec esi
into
push ds
cmp eax, 0xffffffbf
inc ebp
adc eax, 0x8b003284
inc ebp
or al, 0x43
inc ebx
dec esi
into
into
push ds
cmp eax, 0x41
invalid
fstp dword [esi]
push ds
cmp eax, 0xffffffbf
push eax
adc eax, 0x8b003284
inc ebp
or al, 0x43
inc ebx
dec esi
into
push ds
cmp eax, 0xffffffff
or al, ch
dec esp
daa
add byte [ebx + 0xf400446], cl
jne 0x427eb5
lea ecx, [esi + 2]
push ecx
add byte [edx + ebx*2], dl
add al, 0
or byte [edx + 0xe44502], bh
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115d7
mov ecx, dword [esi + 4]
lea edx, [ebp + edx*2 - 0x24]
ror byte [edi], 0x84
mov ecx, dword [esi + esi + 2]
inc esp
and al, 0x54
call 0x8b43774e
push esi
add al, 0x52
call 0xc4fb7756
or al, 0xff
inc ebp
fsub st(1), st(0)
xchg ecx, eax
pop ds
cld
mov ecx, dword [ebp - 0xc]
test dword [ebp + 0x53], eax
add al, byte [eax + eax*4 + 0x4fffdab]
add bh, al
inc esi
or al, 0
jmp 0xf8c59dcd
popfd
push ds
cmp eax, 0
add byte [eax], al
mov eax, dword [esi + 4]
mov edi, edi
into
push ds
cmp eax, 1
cmp dword [eax], ecx
dec ebx
push ebx
push 0x963138b
add dword [eax], eax
jne 0x427f46
add eax, 0xff9c00
add byte [ebp - 0x631723b3], cl
push ebp
in al, dx
push edx
call fcn.0044b469
add byte [ebx + esi - 0x75], dh
inc esp
jmp 0x8c3e9e9f
cmp byte [edi], bl
cld
mov ecx, dword [ebp - 0xc]
clc
push ecx
call 0x8caacfa8
adc esp, dword [ebx + 9]
add dword [eax], eax
jne 0x427f73
add eax, 0xff9c00
add byte [ebp - 0x631723b3], cl
push ebp
in al, dx
push edx
call fcn.0044b469
add byte [ebx + esi - 0x75], dh
inc esp
jmp 0x8c3e9ecc
cmp byte [edi], bl
cld
mov ecx, dword [ebp - 0xc]
or byte [ebx + 0x53], cl
push 0x963138b
push eax
add byte [ebp - 4], dh
add eax, 0x73b6e900
mov dh, 0x73
mul edx
add byte [esi + 0x39], ah
jp 0x427fb6
add byte [ebx + 0x45430c45], cl
in al, dx
call fcn.00402780
mov ebx, dword [ebp - 8]
jmp fcn.00410ba0
invalid
cmp byte [edi], bl
cld
mov ecx, dword [ebp + 0x55]
or byte [ebx + 0x68], dl
mov byte [ebx], dl
arpl word [ecx], cx
push edx
add byte [ebp - 4], dh
add eax, 0x39660000
jp 0x427ff5
or al, 0x1b
add byte [eax], al
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00402780
inc ebx
jmp 0xd2c7d3d
invalid
or al, 0x74
add byte [eax], al
xor dword [edx + 8], ebp
dec ebx
push ebx
push 0x963138b
push edx
add byte [ebp - 4], dh
add eax, 0xff9c00
add byte [ebp - 0x631723b3], cl
sbb eax, dword [eax]
push eax
call fcn.0044b469
add byte [ebx + esi - 0x75], dh
inc esp
jmp 0x8c3e9f67
cmp byte [edi], bl
cld
mov ecx, dword [ebp + 5]
add dword [eax], eax
mov eax, dword [esi + 0xc]
add esp, 4
push eax
call fcn.004111dc
add esp, 4
push esi
call 0x472b8620