Function at 0x477b84
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49e004]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov al, byte [eax + 0x10]
cmp al, 8
jne 0x477baa
cmp dword [0x49e000], ecx
jne 0x477baa
mov edx, ecx
mov dword [ebp - 8], ecx
jmp 0x477bb0
xor edx, edx
inc edx
mov dword [ebp - 8], edx
push ebx
xor ebx, ebx
cmp al, 0xe
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sete bl
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0x10]
mov byte [eax], cl
cmp dword [esi], ebx
jb 0x477bd3
push 0xf
pop eax
jmp 0x477d93
mov eax, dword [0x49e004]
push edi
push 0x27
pop edi
cmp dword [eax + 0x19], ecx
je 0x477c25
test edx, edx
je 0x477c25
push dword [esi]
push dword [esi]
call fcn.004677ea
cmp ax, di
je 0x477c25
push 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x49e004]
push dword [eax + 0x19]
push dword [eax + 0x15]
push dword [esi]
call fcn.004775c5
mov ecx, eax
mov dword [ebp - 4], eax
push 2
pop edi
sub ecx, 1
je 0x477c7f
sub ecx, edi
je 0x477c54
sub ecx, 1
je 0x477c7f
push dword [esi]
push dword [esi]
call fcn.004677ea
mov edx, dword [0x49e004]
movzx ecx, byte [edx + 0x35]
cmp ax, cx
jne 0x477cf2
inc dword [esi]
mov eax, dword [0x49e004]
push ebx
push esi
movzx eax, byte [eax + 0x35]
push eax
jmp 0x4785b8
mov eax, dword [ebp + 8]
add dword [esi], eax
mov edi, dword [ebp - 0xc]
cmp ebx, dword [esi]
jbe 0x477c72
push esi
push dword [esi]
call fcn.004750fa
movzx ecx, byte [edi]
cmp ax, cx
jne 0x477c5c
cmp ebx, dword [esi]
sbb eax, eax
and eax, 0xfffffffa
add eax, 6
jmp 0x477d92
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [ebp - 0x18], ecx
push eax
push eax
mov dword [esi], eax
call fcn.004677ea
push 0x2d
pop ecx
cmp ax, cx
jne 0x477c9c
inc dword [esi]
cmp dword [ebp - 4], 4
push ebx
push esi
jne 0x477cab
call fcn.0047794e
jmp 0x477cb0
call fcn.004785ca
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x477ce1
push dword [esi]
mov al, byte [eax]
push dword [esi]
mov byte [ebp + 0xb], al
call fcn.004677ea
mov dl, byte [ebp + 0xb]
movzx ecx, dl
cmp ax, cx
je 0x477cdb
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
jmp 0x477c25
test dl, dl
je 0x477ce1
inc dword [esi]
cmp dword [ebp - 4], 4
push 0x12
pop eax
cmove edi, eax
mov eax, edi
jmp 0x477d92
cmp dword [0x49e014], 0
jne 0x478344
test byte [edx + 8], 0x60
je 0x478344
imul ecx, dword [0x49e01c], 6
mov eax, dword [0x49e024]
mov al, byte [ecx + eax - 5]
cmp al, 0x22
je 0x478344
cmp al, 0x21
je 0x478344
cmp dword [0x49e1e0], 0
je 0x477d43
mov eax, dword [esi]
push esi
push eax
mov dword [ebp - 0x10], eax
call fcn.004750fa
movzx edi, ax
jmp 0x477d4d
mov ecx, dword [esi]
movzx edi, byte [ecx]
lea eax, [ecx + 1]
mov dword [esi], eax
movzx ecx, di
cmp ecx, 0x23
jg 0x477e1a
je 0x477e03
push 9
pop eax
cmp ecx, eax
jl 0x477e45
cmp ecx, 0xa
jle 0x477dab
cmp ecx, 0xd
je 0x477dab
cmp ecx, 0x20
je 0x477dab
cmp ecx, 0x21
je 0x477d9b
cmp ecx, 0x22
jne 0x477e45
push ebx
push dword [ebp + 0xc]
push esi
push edi
call fcn.00478803
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
cmp byte [eax], 0x3d
je 0x4782db
jmp 0x477e45
cmp dword [esi], ebx
jae 0x4783b4
push 0x20
pop edi
push dword [esi]
push dword [esi]
call fcn.004677ea
movzx eax, ax
cmp ax, di
je 0x477de3
push 9
pop ecx
cmp ax, cx
je 0x477de3
push 0xa
pop ecx
cmp ax, cx
je 0x477de3
push 0xd
pop ecx
cmp ax, cx
jne 0x4783b4
cmp dword [0x49e1e0], 0
mov eax, dword [esi]
je 0x477df7
push eax
push eax
call 0x4ee1ea
jmp 0x477df8
inc eax
mov dword [esi], eax
cmp eax, ebx
jb 0x477db6
jmp 0x4783b4
cmp dword [ebp - 8], 0
jne 0x4781d1
push ebx
push esi
push edi
call fcn.004777b1
jmp 0x477d92
push 0x27
pop eax
cmp ecx, eax
je 0x477d87
cmp ecx, 0x28
je 0x4782db
cmp ecx, 0x3b
jle 0x477e45
cmp ecx, 0x3e
jle 0x4782db
cmp ecx, 0x5b
je 0x4785b4
mov eax, dword [0x49e004]
test byte [eax + 8], 0x40
je 0x4781a3
cmp ecx, 0x23
je 0x4781d1
cmp ecx, 0x7b
je 0x4781ce
cmp dword [0x49e1e0], 0
je 0x477e80
mov eax, dword [ebp - 0x10]
push eax
push eax
mov dword [esi], eax
call fcn.004677ea
movzx edi, ax
jmp 0x477e87
dec dword [esi]
mov eax, dword [esi]
movzx edi, byte [eax]
cmp dword [0x49e1e0], 0
mov dword [ebp - 0xc], edi
je 0x477e9b
push edi
call 0x4ee1c7
jmp 0x477e9d
xor eax, eax
test eax, eax
jne 0x477ee4
cmp dword [0x49e1e0], eax
je 0x477ebd
call 0x4ee057
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
jmp 0x477ebf
xor ecx, ecx
test ecx, ecx
je 0x477ed5
mov eax, 0xa0
cmp di, ax
jb 0x477ed5
add eax, 0x3f
cmp di, ax
jbe 0x477ee4
push edi
call dword [0x498178]
test eax, eax
je 0x478171
mov eax, ebx
sub eax, dword [esi]
mov dword [ebp - 4], eax
cmp eax, 3
jl 0x478171
push dword [0x49e008]
push eax
push dword [esi]
lea eax, [ebp - 0x24]
push eax
call fcn.00479679
test dword [ebp - 0x24], 0x7fff
jne 0x478185
cmp dword [ebp - 4], 3
jl 0x478171
mov ebx, dword [ebp - 4]
xor edi, edi
cmp dword [0x49e1e0], edi
je 0x477f52
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, dword [esi]
sub ecx, eax
mov dword [ebp + 8], eax
add ecx, ebx
push ecx
push dword [esi]
call fcn.004677ea
movzx ecx, ax
push ecx
call 0x4ee1c7
jmp 0x477f54
mov eax, edi
test eax, eax
jne 0x478027
cmp dword [0x49e1e0], edi
je 0x477f78
call 0x4ee057
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
jmp 0x477f7a
mov ecx, edi
test ecx, ecx
je 0x477fea
cmp dword [0x49e1e0], edi
je 0x477f96
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, eax
jmp 0x477f99
xor ecx, ecx
inc ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
mov ecx, 0xa0
cmp ax, cx
jb 0x477fea
cmp dword [0x49e1e0], edi
je 0x477fcc
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x477fd2
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
mov ecx, 0xdf
cmp ax, cx
jbe 0x478027
cmp dword [0x49e1e0], edi
je 0x478005
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x47800b
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
movzx eax, al
push eax
call dword [0x498178]
test eax, eax
je 0x478033
sub ebx, dword [ebp + 8]
cmp ebx, 3
jge 0x477f22
mov edi, dword [ebp - 0xc]
cmp ebx, 3
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
jl 0x478171
mov ebx, dword [ebp - 4]
xor edi, edi
cmp dword [0x49e1e0], edi
je 0x47807b
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov dword [ebp + 8], eax
mov eax, dword [esi]
sub eax, dword [ebp + 8]
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
movzx eax, ax
push eax
call 0x4ee1c7
jmp 0x47807d
mov eax, edi
test eax, eax
jne 0x47815c
cmp dword [0x49e1e0], edi
je 0x4780a1
call 0x4ee057
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
jmp 0x4780a3
mov ecx, edi
test ecx, ecx
je 0x478113
cmp dword [0x49e1e0], edi
je 0x4780bf
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, eax
jmp 0x4780c2
xor ecx, ecx
inc ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
mov ecx, 0xa0
cmp ax, cx
jb 0x478113
cmp dword [0x49e1e0], edi
je 0x4780f5
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x4780fb
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
mov ecx, 0xdf
cmp ax, cx
jbe 0x47815c
cmp dword [0x49e1e0], edi
je 0x47812e
mov ecx, dword [esi]
lea eax, [ebx + ecx]
push eax
push ecx
call 0x4ee168
mov ecx, eax
mov dword [ebp + 8], eax
jmp 0x478134
xor ecx, ecx
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
push eax
push dword [esi]
call fcn.004677ea
movzx eax, al
push eax
call dword [0x498178]
test eax, eax
jne 0x47815c
sub ebx, dword [ebp + 8]
cmp ebx, 3
jge 0x47804a
mov edi, dword [ebp - 0xc]
cmp ebx, 3
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
jge 0x477ef4
cmp dword [0x49e1e0], 0
mov eax, dword [esi]
je 0x478191
push eax
push eax
call 0x4ee1ea
jmp 0x478192
mov eax, dword [ebp - 4]
add dword [esi], eax
push 6
jmp 0x4785c4
inc eax
mov dword [esi], eax
mov eax, dword [0x49e004]
test byte [eax + 8], 0x20
je 0x4783df
cmp dword [ebp - 0x14], 0
push 0x30
pop eax
push 0x39
pop ecx
je 0x47822c
cmp di, ax
jb 0x4781bd
cmp di, cx
jbe 0x4784a1
cmp dword [0x49e1e0], 0
je 0x4781de
push edi
call 0x4ee1c7
jmp 0x4781e0
push 0x7d
pop edi
push ebx
push esi
push edi
call fcn.00477a7c
jmp 0x477d92
xor eax, eax
test eax, eax
movzx eax, di
mov dword [ebp + 0x10], eax
jne 0x4781f4
push eax
call dword [0x4982e0]
movzx eax, al
cmp eax, 0x41
jl 0x478226
cmp dword [0x49e1e0], 0
je 0x47820a
push edi
call 0x4ee1c7
jmp 0x47820c
xor eax, eax
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x47821d
push eax
call dword [0x4982e0]
movzx eax, al
cmp eax, 0x46
jle 0x4784a1
push 0x30
pop eax
push 0x39
pop ecx
cmp dword [ebp - 8], 0
je 0x478281
cmp di, ax
jb 0x478240
cmp di, cx
jbe 0x4784ba
mov eax, dword [0x49e008]
movzx eax, byte [eax + 5]
cmp di, ax
je 0x47825a
push 0x2d
pop eax
cmp di, ax
jne 0x4782db
push dword [esi]
push dword [esi]
call fcn.004677ea
push 0x30
pop ecx
cmp ax, cx
jb 0x4782db
push dword [esi]
push dword [esi]
call fcn.004677ea
push 0x39
pop ecx
cmp ax, cx
ja 0x4782db
jmp 0x4784ba
cmp dword [0x49e1e0], 0
je 0x478294
push edi
call 0x4ee1c7
xor ecx, ecx
jmp 0x478298
xor ecx, ecx
mov eax, ecx
test eax, eax
jne 0x4782db
cmp dword [0x49e1e0], eax
je 0x4782b6
call 0x4ee057
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
test ecx, ecx
je 0x4782cc
mov eax, 0xa0
cmp di, ax
jb 0x4782cc
add eax, 0x3f
cmp di, ax
jbe 0x4782db
push edi
call dword [0x498174]
test eax, eax
je 0x477e0d
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.004786ee
mov edx, eax
test edx, edx
je 0x477e0d
mov eax, dword [ebp + 0xc]
cmp edx, 0xd
jne 0x478324
mov cl, byte [eax]
cmp cl, 5
jb 0x47830c
cmp cl, 0x10
jb 0x478324
cmp dword [ebp - 8], 0
je 0x477e0d
cmp cl, 0x12
je 0x478324
cmp cl, 0x11
jne 0x477e0d
cmp dword [ebp - 8], 0
jne 0x478338
cmp edx, 0xa
jne 0x478338
cmp byte [eax], 0x23
jne 0x477e0d
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, edx
jmp 0x477d92
push esi
push dword [esi]
call fcn.004750fa
movzx edi, ax
movzx eax, di
cmp eax, 0x23
jg 0x4783bb
je 0x478599
push 9
pop ecx
cmp eax, ecx
jl 0x4783df
cmp eax, 0xa
jle 0x47837e
cmp eax, 0xd
je 0x47837e
cmp eax, 0x20
je 0x47837e
cmp eax, 0x22
je 0x477d87
jmp 0x4783df
cmp dword [esi], ebx
jae 0x4783b4
push 0x20
pop edi
push dword [esi]
push dword [esi]
call fcn.004677ea
movzx eax, ax
cmp ax, di
je 0x4783ae
push 9
pop ecx
cmp ax, cx
je 0x4783ae
push 0xa
pop ecx
cmp ax, cx
je 0x4783ae
push 0xd
pop ecx
cmp ax, cx
jne 0x4783b4
inc dword [esi]
cmp dword [esi], ebx
jb 0x478385
push 0x10
jmp 0x4785c4
cmp eax, 0x27
je 0x477d87
cmp eax, 0x3f
je 0x4785c2
cmp eax, 0x5b
je 0x4785b4
cmp eax, 0x7b
je 0x478546
cmp dword [0x49e014], 0
jne 0x478424
mov eax, dword [0x49e008]
movzx eax, byte [eax + 5]
cmp di, ax
je 0x4783fe
push 0x2d
pop eax
cmp di, ax
jne 0x478424
push dword [esi]
push dword [esi]
call fcn.004677ea
push 0x30
pop ecx
cmp ax, cx
jb 0x478424
push dword [esi]
push dword [esi]
call fcn.004677ea
push 0x39
pop ecx
cmp ax, cx
jbe 0x4784ba
push ebx
push dword [ebp + 0xc]
push esi
push edi
call fcn.004786ee
test eax, eax
jne 0x477d92
cmp dword [ebp - 0x14], eax
je 0x4784af
push 0x30
pop eax
cmp di, ax
jb 0x47844c
push 0x39
pop eax
cmp di, ax
jbe 0x4784a1
cmp dword [0x49e1e0], 0
je 0x47845d
push edi
call 0x4ee1c7
jmp 0x47845f
xor eax, eax
test eax, eax
movzx eax, di
mov dword [ebp + 0xc], eax
jne 0x478473
push eax
call dword [0x4982e0]
movzx eax, al
cmp eax, 0x41
jl 0x4784af
cmp dword [0x49e1e0], 0
je 0x478489
push edi
call 0x4ee1c7
jmp 0x47848b
xor eax, eax
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x47849c
push eax
call dword [0x4982e0]
movzx eax, al
cmp eax, 0x46
jg 0x4784af
dec dword [esi]
push ebx
push esi
call fcn.0047794e
jmp 0x477d92
push 9
lea eax, [edi - 0x30]
pop ecx
cmp ax, cx
ja 0x4784c6
push ebx
push esi
call fcn.004785ca
jmp 0x477d92
cmp dword [0x49e1e0], 0
je 0x4784d9
push edi
call 0x4ee1c7
xor ecx, ecx
jmp 0x4784dd
xor ecx, ecx
mov eax, ecx
test eax, eax
jne 0x478536
cmp dword [0x49e1e0], eax
je 0x4784fb
call 0x4ee057
xor ecx, ecx
mov edx, 0x411
cmp ax, dx
sete cl
test ecx, ecx
je 0x478511
mov eax, 0xa0
cmp di, ax
jb 0x478511
add eax, 0x3f
cmp di, ax
jbe 0x478536
push edi
call dword [0x498174]
test eax, eax
jne 0x478536
mov eax, dword [0x49e008]
push 0x11
movzx ecx, byte [eax + 0x19]
pop eax
push 7
cmp di, cx
pop edx
cmove eax, edx
jmp 0x477d92
push ebx
push esi
movzx eax, di
push eax
call fcn.00477ab6
jmp 0x477d92
push dword [esi]
push dword [esi]
call fcn.004677ea
cmp ax, 0x74
je 0x478569
push dword [esi]
push dword [esi]
call fcn.004677ea
cmp ax, 0x64
je 0x478569
push 0x7d
pop edi
jmp 0x478599
push esi
push dword [esi]
call fcn.0047898b
cmp ax, 0x73
jne 0x478579
inc dword [esi]
mov eax, dword [esi]
cmp byte [eax], 0x20
jne 0x478583
inc eax
mov dword [esi], eax
push esi
push dword [esi]
call fcn.004750fa
push 0x27
pop ecx
cmp ax, cx
je 0x478597
push 0x11
jmp 0x4785c4
mov edi, ecx
push ebx
push esi
push edi
call fcn.00477a7c
push 0x27
pop ecx
cmp di, cx
jne 0x477d92
inc dword [esi]
jmp 0x477d92
push ebx
push esi
push 0x5d
call fcn.00477a3b
jmp 0x477d92
push 0x13
pop eax
jmp 0x477d92