Function at 0x404480
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.00414289
add esp, 4
xor ecx, ecx
push 4
mov dword [ebp - 0x24], eax
mov word [eax], cx
call fcn.00414289
add esp, 4
test eax, eax
je 0x42d7af
mov dword [eax], 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 8], ebx
jbe 0x40450f
xor edi, edi
mov eax, edx
mov ecx, dword [eax + 4]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x404509
movzx eax, word [esi + 8]
cmp ax, 0x3f
jle 0x4045d2
push esi
call fcn.00412876
mov eax, dword [ebp + 0x10]
add esp, 4
inc edi
cmp edi, dword [eax + 8]
jb 0x4044e5
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], ebx
cmp word [eax], bx
je 0x404723
mov ecx, dword [ebp + 0xc]
jmp 0x404530
movzx eax, word [ecx + ebx*2]
cmp eax, 0x20
je 0x404627
cmp eax, 9
je 0x404627
movzx eax, word [ecx + ebx*2]
test ax, ax
je 0x40470f
mov esi, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0xa], bx
cmp esi, 0x30
jae 0x40462d
cmp esi, 0x2e
je 0x404636
cmp esi, 0x41
jae 0x4047d5
cmp esi, 0x61
jae 0x404a4a
cmp esi, 0x5f
je 0x4047de
mov eax, esi
cmp eax, 0x24
je 0x404769
cmp eax, 0x3d
je 0x40480f
cmp eax, 0x28
je 0x40484d
cmp eax, 0x29
je 0x404830
cmp eax, 0x22
je 0x40486a
sub eax, 0x1a
cmp eax, 0x44
ja 0x42da98
movzx ecx, byte [eax + fcn.004032e0]
jmp dword [ecx*4 + 0x4032a4]
cmp ax, 0x30
jl 0x4044fd
mov ecx, dword [esi]
test ecx, ecx
je 0x4044fd
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], ecx
cmp dword [edx], ebx
je 0x42d7b7
mov ecx, dword [ebp - 8]
push ecx
call fcn.00412876
add esp, 4
jmp 0x4044fd
inc ebx
jmp 0x404530
cmp esi, 0x39
ja 0x404565
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x42d7d9
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx*4 - 4]
movzx edi, word [edx + 8]
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.00404de0
cmp al, 1
jne 0x42d819
cmp di, 0x4a
je 0x42d7e3
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00404380
mov ebx, dword [ebp - 8]
jmp 0x404701
cmp di, 0x30
jae 0x404926
cmp di, 0x5f
je 0x4047a0
test esi, esi
je 0x42dac3
lea eax, [ebp - 0x24]
call fcn.004042f0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push esi
push edi
call dword [0x487660]
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jge 0x404980
mov eax, 0x33
push 0x10
mov word [ebp - 0xc], ax
call fcn.00414289
add esp, 4
test eax, eax
je 0x42d9ef
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.00404380
mov eax, dword [ebp + 0xc]
cmp word [eax + ebx*2], 0
jne 0x404521
mov ax, word [ebp - 0xc]
cmp ax, 0x30
jl 0x404723
cmp ax, 0x3f
jle 0x404956
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.00404380
mov esi, dword [ebp - 0x18]
dec dword [esi]
jne 0x40475e
mov edx, dword [ebp - 0x24]
push edx
call fcn.0041415c
add esp, 4
push esi
call fcn.00412876
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.00404f80
mov ecx, dword [ebp + 0xc]
movzx edi, word [ecx + ebx*2]
mov esi, dword [ebp - 0x20]
lea esp, [esp]
cmp di, 0x5a
ja 0x40478c
cmp di, 0x41
jae 0x4047a0
cmp di, 0x61
jb 0x404685
cmp di, 0x7a
ja 0x404685
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jg 0x42d987
lea eax, [esi + 1]
lea esi, [ebp - 0x24]
call fcn.00404b30
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 0x404780
cmp esi, 0x5a
ja 0x404577
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 8]
call fcn.00404c90
cmp dword [ebp - 0x14], 0xffffffff
je 0x42da26
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00404380
mov ebx, dword [ebp - 8]
jmp 0x404701
mov eax, dword [ebp + 0xc]
inc ebx
cmp word [eax + ebx*2], 0x3d
lea esi, [ebp - 0x14]
je 0x42d977
mov edi, 0x41
call fcn.00404310
jmp 0x4046f6
mov edi, 0x48
lea esi, [ebp - 0x14]
call fcn.00404310
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00404380
inc ebx
jmp 0x404701
mov edi, 0x47
lea esi, [ebp - 0x14]
call fcn.00404310
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00404380
inc ebx
jmp 0x404701
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x24]
lea edi, [ebp - 8]
call fcn.00404bb0
lea esi, [ebp - 0x14]
test eax, eax
jne 0x42da68
lea edi, [eax + 0x36]
call fcn.00404310
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00403be0
mov eax, edi
mov edi, dword [ebp + 0x10]
call fcn.00404380
mov ebx, dword [ebp - 8]
jmp 0x404701
cmp di, 0x39
jbe 0x4047a0
jmp 0x40468f
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x404723
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
je 0x42daee
push esi
call fcn.00412876
add esp, 4
jmp 0x404723
cmp ax, 0x3f
jg 0x4046c5
jmp 0x42d9d9
lea esi, [ebp - 0x14]
call fcn.00404310
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x14]
call fcn.00403be0
jmp 0x4046f6
cmp esi, 0x7a
jbe 0x4047de
jmp 0x404580
mov dword [ebp - 0x18], ebx
jmp 0x4044d9
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call fcn.0041415c
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add esp, 4
push eax
call fcn.00412876
add esp, 4
jmp 0x4045f9
mov edi, 0x40
jmp 0x40464f
cmp word [ebp - 0xc], 5
jne 0x404675
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
adc edx, 0
neg edx
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + ebx*4 - 4]
mov eax, 0x49
mov word [edx + 8], ax
jmp 0x404675
mov ebx, dword [ebp - 8]
cmp esi, 0x2e
jne 0x40456e
lea esi, [ebp - 0x24]
inc ebx
call fcn.00404f80
mov esi, dword [ebp + 0xc]
movzx eax, word [esi + ebx*2]
cmp ax, 0x41
jb 0x42d849
cmp ax, 0x5a
jbe 0x42d88f
cmp ax, 0x61
jb 0x42d85d
cmp ax, 0x7a
jbe 0x42d88f
cmp ax, 0x30
jb 0x42d871
cmp ax, 0x39
jbe 0x42d88f
cmp ax, 0x5f
je 0x42d88f
cmp dword [ebp - 0x20], 0
je 0x42d9fb
mov edi, 0x35
jmp 0x404a32
push eax
lea eax, [ebp - 0x24]
call fcn.00404c50
inc ebx
jmp 0x42d831
mov edi, 0x50
call fcn.00404310
inc ebx
jmp 0x4046f6
dec dword [eax]
lea esi, [ebp - 0x24]
call fcn.00402d00
mov esi, dword [ebp - 0x20]
lea edx, [esi + 2]
push edx
call fcn.0044c254
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414289
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.00413de0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x24], eax
jmp 0x4047bd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4046c5
push eax
call fcn.0044859d
jmp 0x4046c5
mov dword [ebp - 0x14], 0
jmp 0x4046f6
mov ecx, dword [ebp + 8]
dec ebx
push ebx
push 0x138b
push ecx
call fcn.004696d2
lea ecx, [ebp - 0x24]
call fcn.00403bb0
lea edx, [ebp - 0x14]
push edx
call fcn.0045107b
mov eax, 1
jmp 0x404760
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
push 0x138c
push ecx
call fcn.004696d2
lea ecx, [ebp - 0x24]
call fcn.00403bb0
lea edx, [ebp - 0x14]
push edx
call fcn.0045107b
mov eax, 1
jmp 0x404760
mov edi, 0x7f
call fcn.00404310
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
call fcn.00404380
lea ecx, [ebp - 0x24]
call fcn.00403bb0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0045107b
mov eax, 1
jmp 0x404760
mov edx, dword [ebp + 8]
push ebx
push 0x1388
push edx
call fcn.004696d2
mov edi, 0x7f
lea esi, [ebp - 0x14]
call fcn.00404310
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00404380
jmp 0x42dad3
mov edx, dword [ebp + 8]
dec ebx
push ebx
push 0x138b
push edx
call fcn.004696d2
lea ecx, [ebp - 0x24]
call fcn.00403bb0
lea eax, [ebp - 0x14]
push eax
call fcn.0045107b
mov eax, 1
jmp 0x404760
mov edx, dword [esi]
push edx
call fcn.0041415c
mov eax, dword [esi + 0xc]
add esp, 4
push eax
call fcn.00412876
add esp, 4
jmp 0x404972