Function at 0x479490
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4796da
cmp eax, 0x7c
je 0x4796da
cmp eax, 0x29
jne 0x4794c8
cmp dword [esi + 0x10], 0
jne 0x4796da
test dword [esi + 0x50], 0x10000000
je 0x4796e0
cmp eax, 0x2e
jne 0x47951f
push 5
lea ecx, [esi + 0x24]
call fcn.00479890
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x479513
cmp byte [eax], 0x5c
jne 0x479511
inc eax
cmp eax, ecx
je 0x479511
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4794fe
mov dl, byte [eax]
cmp dl, 0x28
je 0x47950f
cmp dl, 0x29
je 0x47950f
test cl, 0x10
jne 0x479511
mov cl, byte [eax]
cmp cl, 0x7b
je 0x47950f
cmp cl, 0x7d
jne 0x479511
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00478580
jmp 0x4796c5
cmp eax, 0x5c
jne 0x479584
mov ecx, esi
call fcn.00479440
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x479551
cmp byte [esi + 0x48], 0x62
jne 0x479551
push 4
lea ecx, [esi + 0x24]
call fcn.00479890
mov ecx, esi
call fcn.00479440
jmp 0x4796cc
test eax, eax
je 0x479578
cmp byte [esi + 0x48], 0x42
jne 0x479578
push 4
lea ecx, [esi + 0x24]
call fcn.00479890
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00479440
jmp 0x4796cc
mov ecx, esi
call fcn.0047a6e0
jmp 0x4796c5
cmp eax, 0x5b
jne 0x4795e9
mov ecx, esi
call fcn.00479440
mov ecx, esi
call fcn.0047a600
cmp dword [esi + 0x4c], 0x5d
jne 0x4796e7
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4795dd
cmp byte [eax], 0x5c
jne 0x4795db
inc eax
cmp eax, ecx
je 0x4795db
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4795c8
mov dl, byte [eax]
cmp dl, 0x28
je 0x4795d9
cmp dl, 0x29
je 0x4795d9
test cl, 0x10
jne 0x4795db
mov cl, byte [eax]
cmp cl, 0x7b
je 0x4795d9
cmp cl, 0x7d
jne 0x4795db
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00478580
jmp 0x4796c5
cmp eax, 0x28
jne 0x479651
mov ecx, esi
call fcn.00479440
mov ecx, esi
call fcn.0047a870
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4796e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x479644
cmp byte [eax], 0x5c
jne 0x479642
inc eax
cmp eax, ecx
je 0x479642
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x47962f
mov dl, byte [eax]
cmp dl, 0x28
je 0x479640
cmp dl, 0x29
je 0x479640
test cl, 0x10
jne 0x479642
mov cl, byte [eax]
cmp cl, 0x7b
je 0x479640
cmp cl, 0x7d
jne 0x479642
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.00478580
test bl, bl
je 0x4796cc
jmp 0x4796c5
cmp eax, 0x5e
jne 0x479669
push 2
lea ecx, [esi + 0x24]
call fcn.00479890
mov ecx, esi
call fcn.00479440
jmp 0x4796cc
cmp eax, 0x24
jne 0x479681
push 3
lea ecx, [esi + 0x24]
call fcn.00479890
mov ecx, esi
call fcn.00479440
jmp 0x4796cc
cmp eax, 0x2a
je 0x4796f5
cmp eax, 0x2b
je 0x4796f5
cmp eax, 0x3f
je 0x4796f5
cmp eax, 0x7b
je 0x4796f5
cmp eax, 0x7d
jne 0x4796a3
test dword [esi + 0x50], 0x10000000
je 0x4796ee
cmp eax, 0x5d
jne 0x4796b1
test dword [esi + 0x50], 0x10000000
je 0x4796e7
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0047aa60
mov ecx, esi
call fcn.00479440
mov ecx, esi
call fcn.0047a930
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4794a3
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.005884c1
push 4
call fcn.005884c1
push 6
call fcn.005884c1
push 0xa
call fcn.005884c1
int3