Function at 0x479480
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.004881d7
add esp, 4
xor ecx, ecx
push 4
mov dword [ebp - 0x24], eax
mov word [eax], cx
call fcn.004881d7
add esp, 4
test eax, eax
je 0x49e92c
mov dword [eax], 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], ebx
jbe 0x47950f
xor edi, edi
mov eax, edx
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x479509
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x4795d2
push esi
call fcn.00487ddc
mov eax, dword [ebp + 0x10]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x4794e5
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ebx
cmp word [eax], bx
je 0x4796ff
mov ecx, dword [ebp + 0xc]
jmp 0x479530
movzx eax, word [ecx + ebx*2]
cmp eax, 0x20
je 0x479627
cmp eax, 9
je 0x479627
movzx eax, word [ecx + ebx*2]
test ax, ax
je 0x4796eb
mov esi, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0xa], bx
cmp esi, 0x30
jae 0x47962d
cmp esi, 0x2e
je 0x479636
cmp esi, 0x41
jae 0x4797ad
cmp esi, 0x61
jae 0x479a22
cmp esi, 0x5f
je 0x4797b6
mov eax, esi
cmp eax, 0x24
je 0x479745
cmp eax, 0x3d
je 0x4797e7
cmp eax, 0x28
je 0x479825
cmp eax, 0x29
je 0x479808
cmp eax, 0x22
je 0x479842
sub eax, 0x1a
cmp eax, 0x44
ja 0x49ebd5
movzx eax, byte [eax + 0x402eb8]
jmp dword [eax*4 + 0x402e7c]
cmp ax, 0x30
jl 0x4794fd
mov ecx, dword [esi]
test ecx, ecx
je 0x4794fd
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
cmp dword [edx], ebx
je 0x49e934
mov ecx, dword [ebp - 8]
push ecx
call fcn.00487ddc
add esp, 4
jmp 0x4794fd
inc ebx
jmp 0x479530
cmp esi, 0x39
ja 0x479565
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
call fcn.00479db0
cmp al, 1
jne 0x49e956
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00479380
mov ebx, dword [ebp - 8]
jmp 0x4796dd
cmp di, 0x30
jae 0x4798fe
cmp di, 0x5f
je 0x479778
test esi, esi
je 0x49ec00
lea eax, [ebp - 0x24]
call fcn.004792f0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push esi
push edi
call dword [fcn.00482644]
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jge 0x479958
mov eax, 0x33
push 0x10
mov word [ebp - 0xc], ax
call fcn.004881d7
add esp, 4
test eax, eax
je 0x49eb2c
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.00479380
mov eax, dword [ebp + 0xc]
cmp word [eax + ebx*2], 0
jne 0x479521
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jl 0x4796ff
cmp ax, 0x3f
jle 0x47992e
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.00479380
mov esi, dword [ebp - 0x18]
dec dword [esi]
jne 0x47973a
mov edx, dword [ebp - 0x24]
push edx
call fcn.00487ddc
add esp, 4
push esi
call fcn.00487ddc
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.00479f50
mov eax, dword [ebp + 0xc]
movzx edi, word [eax + ebx*2]
mov esi, dword [ebp - 0x20]
cmp di, 0x5a
ja 0x479764
cmp di, 0x41
jae 0x479778
cmp di, 0x61
jb 0x479661
cmp di, 0x7a
ja 0x479661
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jg 0x49eac4
lea eax, [esi + 1]
lea esi, [ebp - 0x24]
call fcn.00479b00
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 0x479758
cmp esi, 0x5a
ja 0x479577
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.00479c60
cmp dword [ebp - 0x14], 0xffffffff
je 0x49eb63
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00479380
mov ebx, dword [ebp - 8]
jmp 0x4796dd
mov edx, dword [ebp + 0xc]
inc ebx
cmp word [edx + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x49eab4
mov edi, 0x41
call fcn.00479310
jmp 0x4796d2
mov edi, 0x48
lea esi, [ebp - 0x14]
call fcn.00479310
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00479380
inc ebx
jmp 0x4796dd
mov edi, 0x47
lea esi, [ebp - 0x14]
call fcn.00479310
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00479380
inc ebx
jmp 0x4796dd
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x24]
lea edi, [ebp - 8]
call fcn.00479b80
lea esi, [ebp - 0x14]
test eax, eax
jne 0x49eba5
lea edi, [eax + 0x36]
call fcn.00479310
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00478e80
mov eax, edi
mov edi, dword [ebp + 0x10]
call fcn.00479380
mov ebx, dword [ebp - 8]
jmp 0x4796dd
cmp di, 0x39
jbe 0x479778
jmp 0x47966b
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4796ff
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
je 0x49ec2b
push esi
call fcn.00487ddc
add esp, 4
jmp 0x4796ff
cmp ax, 0x3f
jg 0x4796a1
jmp 0x49eb16
lea esi, [ebp - 0x14]
call fcn.00479310
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00478e80
jmp 0x4796d2
cmp esi, 0x7a
jbe 0x4797b6
jmp 0x479580
mov dword [ebp - 0x18], ebx
jmp 0x4794d9
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.00487ddc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add esp, 4
push eax
call fcn.00487ddc
add esp, 4
jmp 0x4795f9
mov ebx, dword [ebp - 8]
cmp esi, 0x2e
jne 0x47956e
lea esi, [ebp - 0x24]
inc ebx
call fcn.00479f50
mov esi, dword [ebp + 0xc]
movzx eax, word [esi + ebx*2]
cmp ax, 0x41
jb 0x49e986
cmp ax, 0x5a
jbe 0x49e9cc
cmp ax, 0x61
jb 0x49e99a
cmp ax, 0x7a
jbe 0x49e9cc
cmp ax, 0x30
jb 0x49e9ae
cmp ax, 0x39
jbe 0x49e9cc
cmp ax, 0x5f
je 0x49e9cc
cmp dword [ebp - 0x20], 0
je 0x49eb38
mov edi, 0x35
jmp 0x479a0a
push eax
lea eax, [ebp - 0x24]
call fcn.00479c20
inc ebx
jmp 0x49e96e
mov edi, 0x50
call fcn.00479310
inc ebx
jmp 0x4796d2
dec dword [eax]
lea esi, [ebp - 0x24]
call fcn.00477fa0
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 2]
push ecx
call 0x4bd218
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004881d7
mov edx, dword [ebp - 0x24]
add esp, 4
lea ecx, [esi + esi + 2]
push ecx
push edx
push eax
mov dword [ebp - 8], eax
call fcn.00487a60
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x24], eax
jmp 0x479795
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4796a1
push eax
call 0x4b9dad
jmp 0x4796a1
mov dword [ebp - 0x14], 0
jmp 0x4796d2
mov ecx, dword [ebp + 8]
dec ebx
push ebx
push 0x138b
push ecx
call 0x4d7479
lea ecx, [ebp - 0x24]
call fcn.00478e50
lea edx, [ebp - 0x14]
push edx
call 0x4c2069
mov eax, 1
jmp 0x47973c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
push 0x138c
push ecx
call 0x4d7479
lea ecx, [ebp - 0x24]
call fcn.00478e50
lea edx, [ebp - 0x14]
push edx
call 0x4c2069
mov eax, 1
jmp 0x47973c
mov edi, 0x7f
call fcn.00479310
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00479380
lea ecx, [ebp - 0x24]
call fcn.00478e50
lea ecx, [ebp - 0x14]
push ecx
call 0x4c2069
mov eax, 1
jmp 0x47973c
mov edx, dword [ebp + 8]
push ebx
push 0x1388
push edx
call 0x4d7479
mov edi, 0x7f
lea esi, [ebp - 0x14]
call fcn.00479310
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00479380
jmp 0x49ec10
mov edx, dword [ebp + 8]
dec ebx
push ebx
push 0x138b
push edx
call 0x4d7479
lea ecx, [ebp - 0x24]
call fcn.00478e50
lea eax, [ebp - 0x14]
push eax
call 0x4c2069
mov eax, 1
jmp 0x47973c
mov edx, dword [esi]
push edx
call fcn.00487ddc
mov eax, dword [esi + 0xc]
add esp, 4
push eax
call fcn.00487ddc
add esp, 4
jmp 0x47994a